nanogui: Cross-Compile Problem on ARM


Previous by date: 7 Jul 2005 16:16:35 +0100 Re: Cross-Compile Problem on ARM, Joshua Malone
Next by date: 7 Jul 2005 16:16:35 +0100 Re: port question, Aaron J. Grier
Previous in thread: 7 Jul 2005 16:16:35 +0100 Re: Cross-Compile Problem on ARM, Joshua Malone
Next in thread: 7 Jul 2005 16:16:35 +0100 Re: Cross-Compile Problem on ARM, Alexander Stohr

Subject: Re: [nanogui] Cross-Compile Problem on ARM
From: Alan Chuang ####@####.####
Date: 7 Jul 2005 16:16:35 +0100
Message-Id: <f295c633050707081647b63840@mail.gmail.com>

I had the same problem when I cross-compiled for one of my projects
with uclibc on a MIPS problem. The issue is that the zlib directory is
not in the include path.
You can either modify the makefile to include the zlib library or you can simply
copy zlib.h and zconf.h files to your cross-compiling tool's include directory.

Alan

On 7/7/05, Joshua Malone ####@####.#### wrote:
> Stefan Frank wrote:
> > 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:
> >
> >
> 
> Do you have the right includes (-I) in your Makefiles, etc.?  Perhaps
> the Makefiles aren't including the directory where your cross-compiler
> keeps it's include files.
> 
> (I've never cross-compiled NanoX, but I'd check this first)
> 
> -Josh
> 
> --
> 
> Joshua Malone                            Linux Engineer
> Applied Data Systems                www.applieddata.net
> 434-244-9504                    ####@####.####
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
>

Previous by date: 7 Jul 2005 16:16:35 +0100 Re: Cross-Compile Problem on ARM, Joshua Malone
Next by date: 7 Jul 2005 16:16:35 +0100 Re: port question, Aaron J. Grier
Previous in thread: 7 Jul 2005 16:16:35 +0100 Re: Cross-Compile Problem on ARM, Joshua Malone
Next in thread: 7 Jul 2005 16:16:35 +0100 Re: Cross-Compile Problem on ARM, Alexander Stohr


Powered by ezmlm-browse 0.20.