Hello Everybody,

I have installed DirectFB-0.9.24 form directfb.org official site.

Now, I want to write the application which will show me the multiple images in my window (DirectFB screen),
and i want to give the options of mouse and keyboad to user, so he can select any one image from multiple images.
For this I need to activate mouse and Keyboard in my application with many images in my directfb window.

And my configuration file look like this:
----------CONFIGURATION FILE--------------------------------------------------------
matrox-crtc2
mode=720x576-50-16
mode=800x600
 
matrox-tv-standard=pal
#matrox-sgram
matrox-cable-type=composite
primary-layer=1
mouse-protocol=[ms|ms3|mouseman|mousesystems]
#disable-module=joystick
disable-module=ps2mouse
#disable-module=lirc
depth=32
 
# necessary ?
bg-color = 0xFF
no-cursor
memcpy = mmxext
tmpfs = /dev/shm
---------------------------------------------------------------------------

By running the DirectFB application program, i am getting the following error:
--------ERROR--------------------------------------------------------
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
 
       ---------------------- DirectFB v0.9.24 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        ------------------------------------------------------------------
 
(*) DirectFB/Core: Single Application Core. (2006-01-20 13:05)
(*) Direct/Memcpy: Forced to use MMXEXT optimized memcpy()
(!) 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!
key_handling.c <198>:
        (#) DirectFBError [DirectFBCreate(&dfb)]: Initialization error!
-------------------------------------------------------------------------------------------------------

I can run the DirectFB Appl. by including "system=sdl" parameter in my config file, but in this case
i am not able load multiple images and cant see mouse in screen, though i have activated.
Keyboard Event is working fine.


Anybody can guide me how can i do this with efficient and best method, So in future i can able to use all facility
and API's which DirectFB provides.

Any type of suggestion are most welcome and will be gratefull to me...

Thanks in advance,
Vikas S
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to