[GRASS-dev] compiling in osgeo4w - configure: error: *** Unable to locate zlib library.

Helmut Kudrnovsky hellik at web.de
Sat Feb 12 16:53:58 EST 2011



Hi Jürgen,

>On Sat, 12. Feb 2011 at 21:04:31 +0100, Helmut Kudrnovsky wrote:
>> if i comment out line 112-114 of cpl_config.h:
>> 
>> /* VC6 doesn't known intptr_t */
>> #if (_MSC_VER <= 1200)
>
>I suppose that should read 
>
>#if defined(_MSC_VER) && (_MSC_VER <= 1200)
>
>to work with MinGW.  Does the following patch work for you?
>I'm unsure about the second hunk.

with this changes in cpl_config.h, the issues with io.h and cpl_config.h are gone
and compiling is starting normally.

Helmut


___________________________________________________________
WEB.DE DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt mit 
gratis Handy-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2


More information about the grass-dev mailing list