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:06:49 -0800

From: Andreas Kemnade [mailto:andi@xxxxxxxxxxxxxxx]On Behalf
>
> -mno-cygwin changes the default include path, the default library
> path, and the libraries linked in by default so that nothing of the
> unix emulation of cygwin is used.
>
> You should never mix things compiled with and without -mno-cygwin.

Ouch!  Well that makes it decidedly non-trivial for a MinGW newbie to
set up a valid environment then.  zlib and libpng are not shipped with
the current MinGW / MSYS / msysDTK distributions, I had to grab 'em and
compile 'em.

Another gotcha is thinking you can do this with Cygwin when you cannot.
The directions could stand to emphasize that MinGW and Cygwin are not
the same thing, and that you should get MinGW from www.mingw.org .

I nuked MinGW and started over, to try to get things right.  I put
"CC=gcc -mno-cygwin" in my Windows 2000 environment so that it is never
forgotten.

Sadly, libpng is still not detected.


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

Taking risk where others will not.



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