>>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.


>>And what about .pc (pkg-config) and .la (libtool) files? Do they have correct 
>>entries?


>>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

>>May be specifying PKG_CONFIG_PATH will help here.



>>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.

>>CPPFLAGS ?


>>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



>>Best regards,
>>AWG
Hi AWG,
Sorry I did not the get the part where you mentioned to check for .pc and .la 
files?? Which .pc file should I have to check??
After building jpeg, png, zlib and freetype did not provide any .pc files to 
add to the PKG_CONFIG_PATH
I have tried CPPFLAGS with CFLAGS and CPPFLAGS alone but it did not work.
Thanks for your help.
With Best Regards,
C. N. 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

Reply via email to