Hi, I trying to cross compile directfb for arm platform using arm-none-linux-gnueabi tool chain.
I cross compiled the dependencies for directfb like jpeg, zlib, png, freetype using the above tool chain and created static libraries of all the dependencies and placed in /home/DFB/lib (libfreetype.a, libjpeg.a, libpng.a, libz.a) and the header files in /home/DFB/include (ft2build.h, jpeglib.h, png.h, zconf.h, zlib.h, freetype header folder)folder respectively. I use the following configure options for configuring DirectFB, LDFLAGS=-L/home/DFB/lib CFLAGS=-L/home/DFB/include \ CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ \ AR=arm-none-linux-gnueabi-ar RANLIB=arm-none-linux-gnueabi-ranlib \ LD=arm-none-linux-gnueabi-ld ./configure --target=arm-linux --host=i686-pc-linux-gnu \ --enable-static --disable-sdl --with-gfxdrivers=none --enable-fbdev --enable-linux-input \ --without-tools --prefix=/home/DFB But when I run the configure script it is unable to find the jpeglib.h and zlib.h files, it gives the following errors, Checking for jpeg_decompress in -ljpeg... (cached) yes Checking for jpeglib.h... (cached) no *** JPEG header files not found. Checking for gzsetparams in -lz... (cached) yes Checking for zlib.h... (cached) no *** libz header files not found. The problem is occurring only for header files whereas the library files are found while configuring. I tried with --x-includes and --x-libraries option with configure but the result was the same. Can anyone suggest the problem in the procedure that I followed to cross compile directfb?? Thanks in advance. With Best Regards, Harsha Sukeerthi ________________________________ Important notice: This e-mail and any attachment there to contains corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank You.
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
