Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: configure won't find libpng on MinGW
Home

[Freeciv-Dev] Re: configure won't find libpng on MinGW

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Brandon J. Van Every" <vanevery@xxxxxxxxxxxxxxxxxxx>
Cc: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: configure won't find libpng on MinGW
From: Andreas Kemnade <akemnade@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 1 Nov 2003 17:34:03 +0100

Brandon J. Van Every writes:
 > From: Andreas Kemnade [mailto:andi@xxxxxxxxxxxxxxx]On Behalf
 > >
 > > I suspect /usr/include is not in your include search path
 > > (due to -mno-cygwin). That can be
 > > correct. Look where mingw.h and windows.h are installed.
 > 
 > I have:
 > /mingw/include/_mingw.h
 > /mingw/include/windows.h
 > /usr/include/png.h
 > /usr/include/zlib.h
 > 
Then move /usr/include/png.h and /usr/include/zlib.h to /mingw/include
Something similar has to be done for the libs.

 > What is MSYS's canonical include search path called?  Is it an
 > enviornment variable?  I do not see any obvious one.  What is the
 > canonical way to get /usr/include searched?

Don't do that.
/usr/include is meant for cygwin use.

If you build libpng and libz from *source*
you can add the path to the headers/libs in the *source* directory.
I have not talked about adding -L/usr/lib!

Greetings
Andreas Kemnade


[Prev in Thread] Current Thread [Next in Thread]