Chris Cran schrieb:
> 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!


For static binaries you link every DirectFB module that you need at
application link time.

You need at least folder/lib/directfb-1.0-0/systems/libdirectfb_fbdev.o
and folder/lib/directfb-1.0-0/wm/libdirectfbwm_default.o.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

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

Reply via email to