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

Helmut Kudrnovsky hellik at web.de
Sat Feb 12 15:04:31 EST 2011


-----Ursprüngliche Nachricht-----
Von: "Helmut Kudrnovsky" <hellik at web.de>
Gesendet: 12.02.2011 19:29:49
An: grass-dev at lists.osgeo.org
Betreff: compiling in osgeo4w - configure: error: *** Unable to locate zlib library.


>On Sat, 12. Feb 2011 at 19:05:31 +0100, Helmut Kudrnovsky wrote:
>> c:/OSGeo4W/include/io.h:41: error: redefinition of typedef 'intptr_t'
>
>Where is that io.h from?   I don't have one - so it's probably not from
>osgeo4w.

if i comment out line 112-114 of cpl_config.h:

/* VC6 doesn't known intptr_t */
#if (_MSC_VER <= 1200)
 typedef int intptr_t;
#endif

compiling is starting.

for comparison the related in io.h:

#ifndef _INTPTR_T_DEFINED
#define _INTPTR_T_DEFINED
#ifdef _WIN64
 typedef __int64 intptr_t;
#else
 typedef int intptr_t;
#endif
#endif

best regards
Helmut

___________________________________________________________
Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.web.de


More information about the grass-dev mailing list