Hello, I am trying to cross compile Directfb for a hico7760 http://www.emtrion.com/hico7760st_linux_en.php
I have crosscompiled other libraries before, but none dealing with graphics. My goal is to replace the Qt embedded library shipped with the device. I don't need window management, only screen manipulation, graphics primitives, font, and png support. I have already built libfreetype libz and libpng12 I have configured directfb with: cd $BSP/pkgs/src/DirectFB ./configure --prefix=$BSP/pkgs/bin/DirectFB --enable-zlib --host=sh4 CC=sh4-linux-gcc I get the output: Build options: Version 1.4.3 Linux powered no Install prefix /pkgs/bin/DirectFB Config files in /pkgs/bin/DirectFB/etc Build shared libs no Build static libs yes Module directory ${exec_prefix}/lib/directfb-1.4-0 CPPFLAGS -D_REENTRANT CFLAGS -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration LDFLAGS LIBS -lpthread DYNLIB THREADFLAGS -D_REENTRANT THREADLIBS Misc options: Multi Application Core no Fusion Kernel Device N/A Fusion message size 1024 Voodoo (network support) no Debug supported yes Debug enabled no Trace support no MMX support no SSE support no Network support yes Include all strings yes Software Rendering yes Smooth SW Scaling no 16bit Dithering none zlib compression yes -lz sysfs support no Building Tests no Building Tools yes Building System Modules: Linux FBDev support no Generic /dev/mem support yes X11 support no OSX support no SDL support no VNC support no Building Window Manager Modules: Default yes UniQuE no Building Image Provider Modules: GIF yes JPEG no PNG yes -I/usr/include/libpng12 -lpng12 Building Video Provider Modules: GIF yes Video4Linux no (v2: no) Building Font Modules: FreeType2 yes -I/usr/include/freetype2 -lfreetype Default font yes JPEG support is missing - many applications won't work correctly! Everything looks good so far to me... I then run make and get undefined references to functions in libz and the math libs, called from libpng in the tools/ dir. I change tools/Makefile to read LIBPNG_LIBS = -lpng12 -lz -lm make then completes and I run make install. on the target device. running dfbinfo produces: ~ # dfbinfo ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2009 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2010-08-05 01:24) (!) DirectFB/core/system: No system found! (#) DirectFBError [DirectFBCreate() failed]: No (suitable) implementation found! Have I missed something? does DirectFB not support this device? I don't know what else I'm supposed to do. Thanks in advance. Max S. _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev