nanogui: Cross-Compile Problem on ARM


Previous by date: 7 Jul 2005 14:36:10 +0100 Re: port question, Ed Sutter
Next by date: 7 Jul 2005 14:36:10 +0100 Re: Cross-Compile Problem on ARM, Joshua Malone
Previous in thread:
Next in thread: 7 Jul 2005 14:36:10 +0100 Re: Cross-Compile Problem on ARM, Joshua Malone

Subject: Cross-Compile Problem on ARM
From: Stefan Frank ####@####.####
Date: 7 Jul 2005 14:36:10 +0100
Message-Id: <200507071535.27674.s_frank@freesurf.ch>

Hello everybody

I'm new to Nano-X and I'm trying to cross compile it for an ARM platform. As I 
have already cross compiled some libraries for other projects (libpng, 
libjpeg, freetype, libz) I thought it would be a good idea to include them 
and additionally cross compile libtiff. I changed the corresponding settings 
in config and get following error:

Compiling engine/image_png.c ...
In file included from /home/l4i/build/microwin/src/engine/image_png.c:25:
/home/l4i/pkgs/libpng/include/png.h:359:18: zlib.h: No such file or directory
In file included from /home/l4i/pkgs/libpng/include/png.h:363,
                 from /home/l4i/build/microwin/src/engine/image_png.c:25:

My config partially looks like:
--------------------------------
HAVE_JPEG_SUPPORT        = Y
INCJPEG                  = /home/l4i/pkgs/jpeg/include
LIBJPEG                  = /home/l4i/pkgs/jpeg/lib/libjpeg.so

HAVE_PNG_SUPPORT         = Y
INCPNG                   = /home/l4i/pkgs/libpng/include
LIBPNG                   = /home/l4i/pkgs/libpng/lib/libpng.a
INCZ                     = /home/l4i/pkgs/zlib/include
LIBZ                     = /home/l4i/pkgs/zlib/lib/libz.a

HAVE_TIFF_SUPPORT        = Y
INCTIFF                  = /home/l4i/pkgs/libtiff/include
LIBTIFF                  = /home/l4i/pkgs/libtiff/lib/libtiff.a

HAVE_FREETYPE_SUPPORT    = N
INCFTLIB                 = /usr/include/freetype1
LIBFTLIB                 = /usr/lib/libttf.so
FREETYPE_FONT_DIR        = "fonts/truetype"

HAVE_FREETYPE_2_SUPPORT  = Y
INCFT2LIB                = /home/l4i/pkgs/freetype/include
LIBFT2LIB                = /home/l4i/pkgs/freetype/lib/libfreetype.a

I don't know how the includes get mixed into the compilations - but it seems 
to me that the needed included for zlib.h somehow gets lost. Or is something 
in my setup not correct? I already compiled things against zlib.h, therefore 
I think it is a problem of Nano-X.

If you need more information I would provide them.

Thanks in advance

Stefan


Previous by date: 7 Jul 2005 14:36:10 +0100 Re: port question, Ed Sutter
Next by date: 7 Jul 2005 14:36:10 +0100 Re: Cross-Compile Problem on ARM, Joshua Malone
Previous in thread:
Next in thread: 7 Jul 2005 14:36:10 +0100 Re: Cross-Compile Problem on ARM, Joshua Malone


Powered by ezmlm-browse 0.20.