<div dir="ltr"><div><br><br>On Sat, Nov 11, 2017 at 6:01 PM, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br>><br>> On samedi 11 novembre 2017 17:44:18 CET Markus Metz wrote:<br>><br>> > On Sat, Nov 11, 2017 at 4:25 PM, Helmut Kudrnovsky <<a href="mailto:hellik@web.de">hellik@web.de</a>> wrote:<br>><br>> > > it seems there is an issue with winGRASS:<br>><br>> > ><br>><br>> > > 32 bit:<br>><br>> > ><br>><br>> > > <a href="https://wingrass.fsv.cvut.cz/grass73/x86/logs/log-r71641-1/error.log">https://wingrass.fsv.cvut.cz/grass73/x86/logs/log-r71641-1/error.log</a><br>><br>> > ><br>><br>> > > GRASS GIS 7.3.svn r71641 compilation log<br>><br>> > > --------------------------------------------------<br>><br>> > > Started compilation: Tue Nov 7 21:30:33 2017<br>><br>> > > --<br>><br>> > > Errors in:<br>><br>> > > /c/msys32/usr/src/grass_trunk/raster/r.in.gdal<br>><br>> ><br>><br>> > The error is:<br>><br>> > main.c:345: undefined reference to `GDALSetCacheMax64@4'<br>><br>> ><br>><br>> > strange, GDALSetCacheMax64 should exist on 32 bit Windows, even if "the<br>><br>> > maximum amount of memory that can be addressed by a process might be 2 GB<br>><br>> > or 3 GB, depending on the operating system capabilities."<br>><br>> ><br>><br>> > Falling back to GDALSetCacheMax for MS Windows (including 64 bit Windows)<br>><br>> > in r71677.<br>><br>>  <br>><br>> The issue is probably that this build uses GDAL from OSGeo4W, into which GDAL has been configured and compiled with MSVC. Thus HAVE_LONG_LONG is not defined in cpl_config.h, and the GDALSetCacheMax64( GIntBig ) must evaluate to GDALSetCacheMax64 ( int ) when including from GRASS. I guess defining HAVE_LONG_LONG would solve the issue .<br><br></div>If GDALSetCacheMax64 must evaluate to GDALSetCacheMax64 ( int ), we can just as well use GDALSetCacheMax( int), the argument is the same ( int ).<br><div><div><div><br></div><div>Markus M<br></div><div>><br>>  <br>><br>> --<br>><br>> Spatialys - Geospatial professional services<br>><br>> <a href="http://www.spatialys.com">http://www.spatialys.com</a><br><br></div></div></div></div>