Hello everybody
DirectFB is new for me.
I have achieved the installation of directFB 1.0.0 for my computer. I can
compile and execute directFB programs.
But now, I would like to put directFB on an embedded system : Freescale IMX21
with ARM9.
So, I have installed a cross-compiler (ELDK) : I can cross-compile programs :
they works !
I have made DirectFB with theses options :
./configure --prefix="folder" --host=arm-linux --target=arm-linux (and
eventually, but the result is the same, with --enable-static=yes
--enable-shared=no --disable-dynamic) ; make ; make install
Then I have 3 folders in "folder" : include, lib, share. The big difference is
that when I make DirectFB for my computer, the folder lib contain a folder
named directfb1-0.0 which contain other folders, and when I make DirectFB for
my target, theses folders don't exist. I think it's because arm-linux-gcc can't
use shared librairies. I can read when I configure DirectFB :
(/opt/eldk_arm/usr/arm-linux/bin/ld) supports shared libraries... no)
So, after, I can compile my directFB program : there isn't any problems
After, I put my compiled program and theses folders ("lib" and "include") on my
target. I have exported the good folder as LD_LIBRARY_PATH
This is the results of the execution of my program :
=======================| DirectFB 1.0.0 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2007-03-22 09:59)
(!) DirectFB/core/system: No system found!
main.c <36>:
(#) DirectFBError [DirectFBCreate (&dfb)]: No (suitable) implementation
found!
So I think the compilation is correct : my program found the good library.
I would like understand why "DirectFB/core/system: No system found!", and why
"No (suitable) implementation found!"
I would like to give some information about the target :
- frammebuffer is activated by defaults (/dev/fb0)
- I haven't any "fb.modes" or "/etc/directfbrc" file
Thank you for your help
Chris
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users