![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DirectFb installation & accelerator not recognised | sifar | Red Hat | 0 | 06-02-2009 11:35 AM |
| Execute "telinit q" while programs are running ? | vilius | AIX | 1 | 11-28-2008 05:38 AM |
| Ubuntu Linux Toolbox: 1000+ Commands For Ubuntu And Debian Power ... - PR-Inside.com | iBot | UNIX and Linux RSS News | 0 | 12-19-2007 09:00 AM |
| help to execute programs in sequence through batch | getdpg | Shell Programming and Scripting | 1 | 07-22-2006 08:27 AM |
| Problem with initializing DirectFB by Links | eugrus | Linux | 0 | 01-15-2005 01:13 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
I am new to directFB..i installed DirectFB-1.4.2.tar.gz on my ubuntu(Virtual machine)..its successfully installed without any error msg,, so i took one exampl to execute the program which include the header files like below #include <config.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <direct/messages.h> #include <directfb.h> #include <directfb_strings.h> #include <directfb_util.h> but its showing error msg like root@lxdevenv:~/Desktop/DirectFB-1.4.2/include# gcc ka.c -o ka -I/usr/X11R6/include/ -L/usr/X11R6/lib -lX11 -lXi -lXmu -lglut -lGL -lGLU ka.c:3:20: error: config.h: No such file or directory ka.c:11:29: error: direct/messages.h: No such file or directory ka.c:14:22: error: directfb.h: No such file or directory ka.c:15:30: error: directfb_strings.h: No such file or directory after that i entered th command as dfbinfo its showing the information like: root@lxdevenv:~/Desktop# cd .. root@lxdevenv:~# dfbinfo ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.2 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2009 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2009-09-07 06:04) (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed --> No such file or directory (!) DirectFB/FBDev: Error opening framebuffer device! (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable. (!) DirectFB/Core: Could not initialize 'system_core' core! --> Initialization error! (#) DirectFBError [DirectFBCreate() failed]: Initialization error! so guide me ,,, any answer will appreciated... |
|
|||||
|
Until you get the compile to find the all the include files you are not going to succeed. The locate(1) command will help you find the include files if they are installed on your system.
The mentions of /dev/fb/0 and /dev/fb0 looks like it is referring to a Solaris framebuffers (graphics card by another name for a P.C.) to me; you I think will have a /dev/video so you could try setting FRAMEBUFFER to /dev/video before running dfbinfo? |
|
||||
|
Hi Sir,
i am trying from 4hours to set the Frame buffer to /dev/video .. but i dint get how to set that,,, pls guide me for That...it will appreciated .. ---------- Post updated at 07:22 AM ---------- Previous update was at 07:08 AM ---------- Hi Sir, one more doubt is without setting framebuffer .. i can't execute the Directfb code.. i am not getting how to set that Framebuffer ...guide me ,, |
|
||||
|
Hi Sir,
After setting the framebuffer like as you told its giving the following error msg.. root@lxdevenv:/etc# FRAMEBUFFER=/dev/video; export FRAMEBUFFER root@lxdevenv:/etc# dfbinfo ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.2 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2009 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2009-09-07 06:04) (!) DirectFB/FBDev: Error opening '/dev/video'! --> No such file or directory (!) DirectFB/Core: Could not initialize 'system_core' core! --> File not found! (#) DirectFBError [DirectFBCreate() failed]: File not found! root@lxdevenv:/etc# ---------- Post updated 09-09-09 at 07:14 AM ---------- Previous update was 09-08-09 at 11:14 PM ---------- Hi Sir, i tried to execute the simple program on Directfb #include <stdio.h> #include <unistd.h> #include <directfb.h> int main (int argc, char **argv) { DirectFBInit (&argc, &argv); } but while compiling that i got an error msg like this root@lxdevenv:~/Desktop# cd DirectFB-1.4.0/include/ root@lxdevenv:~/Desktop/DirectFB-1.4.0/include# gcc m.c -o m -I/usr/local/include/directfb -L/usr/local/lib -lX11 -lXi -lXmu -lglut -lGL -lGLU /tmp/ccYg2Bf2.o: In function `main': m.c .text+0x1c): undefined reference to `DirectFBInit'collect2: ld returned 1 exit status root@lxdevenv:~/Desktop/DirectFB-1.4.0/include# guide me Sir,,, any answer will appreciated,,,,,. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|