Hi,

DirectFB uses the character device /dev/fd0 for taking to the frame
buffer. Your kernel has to be compiled with this option enabled. After
you reboot with your new kernel you will see this char device.

Regards,
-- 
Pedro Aguilar

On Wed, 2007-03-07 at 06:24 +0000, amit bag wrote:
> Hi,
> I was trying to write a small C application to use DirectFB to draw a 
> horizontal line 
> on RedHat 9 machine, but get the following error during runtime...
> =======================|  DirectFB 1.0.0-rc4  |=======================
>           (c) 2001-2006  United Cultures of Earth - go for outer space!
>           (c) 2000-2004  Convergence (integrated media) GmbH
>         ----------------------------------------------------------------
>  
> (*) DirectFB/Core: Single Application Core. (2007-02-27 07:33)
> (!) Direct/Util: opening '/dev/fb0' failed
>     --> No such device
> (!) DirectFB/FBDev: Error opening framebuffer device!
> (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment 
> variable.
> (!) DirectFB/Core: Could not initialize 'system' core!
>     --> Initialization error!
> src/directfb.c <25>:
>         (#) DirectFBError [DirectFBCreate (&dfb)]: Initialization error!
> 
> I tried 'fbset -i' on my system
>  to get:
> > fbset -i
> open /dev/fb0: No such device
> 
> When I do ls /dev/fb0 I get /dev/fb0. 
> 
> But does this mean that I don't have a frame buffer device installed or 
> running?
> So please help in running the program
>  .
> Is there any DirectFB configuration which might help the case?
> regards 
> Amit Kumar Bag 
> 
> 
> ______________________________________________________________________
> Here’s a new way to find what you're looking for - Yahoo! Answers 
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users



_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to