Plz tell me the procedure
to build and run applications over Directfb.
Installing DirectFB
- Steps given in this doc assume that u have root privileges,
although all steps don't need it...
- Old versions of directfb will not compile on new fedora
systems because fedora core 6 removed linux/compiler.h. So get a new
version of directfb. 1.0.0 works fine...
- Follow the usual configure, make, make install method
Some useful options for configure: --enable-x11 --enable-debug
--enable-trace --enable-vnc
- DirectFB requires linux framebuffer device. Edit
/boot/grub/menu.lst and see if the kernel command has vga=
parameter. If not, add vga=0x311 at the end of the
line containing the kernel command. Reboot, and check the
output of fbset -i from virtual console. On
at least Intel's cards, adding vga=0x311 kernel parameter is enough.
For list of other modes and other architectures, see http://tldp.org/HOWTO/Framebuffer-HOWTO-5.html
- See if the command pkg-config --cflags directfb
returns meaningful result. Otherwise add the following line at the end
of ur /etc/bashrc, and run bash again
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
Of course, u need to modify the path if u installed it
elsewhere, but it should point to the directory containing directfb.pc
- Tutorials as well as verification that directfb is working: http://directfb.org/index.php?path=Documentation%2FTutorials
Error while loading libdirectfb**.so
If u get such an error, cd /etc/ld.so.conf.d/, create a new
file local.conf (can be actually any name ending with .conf),
write /usr/local/lib
(if u installed directfb at non-default location, write the absolute
path of the directory containing libdirectfb*.so) in the file. Run ldconfig
command (It'll probably be at /sbin/ldconfig).
|
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users