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: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: configure won't find libpng on MinGW
From: "Brandon J. Van Every" <vanevery@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 1 Nov 2003 07:44:03 -0800

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

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?

> In doubt, you can still try something like this:
> CC="gcc -mno-cygwin -Ipath/to/your/pngsource/headers
> -Lpath/to/your/pngsource/libs"

Ok, I have "CC=gcc -mno-cygwin -I/usr/include -L/usr/lib" in my Windows
2000 environment.  Now I can detect png.h, but I'm still dead:

checking png.h usability... no
checking png.h presence... yes
configure: WARNING: png.h: present but cannot be compiled
configure: WARNING: png.h: check for missing prerequisite headers?
configure: WARNING: png.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@xxxxxxx. ##
configure: WARNING:     ## ------------------------------------ ##
checking for png.h... yes
checking for png_read_image in -lpng... no
configure: error: "You have to install libpng"


Cheers,                     www.indiegamedesign.com
Brandon Van Every           Seattle, WA

Taking risk where others will not.



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