Hi,

I’m attempting to build GDAL for the first time in a while, and this is the 
first time for GDAL 2.2.2.  I’ve getting the following error when building for 
iOS arm64 on Mac OS X:

------------------------
geotiff.cpp:7653:13: error: unknown type name 'GUInt64'
    typedef GUInt64 WordType;
            ^
1 error generated.
make[2]: *** [../o/geotiff.lo] Error 1
make[1]: *** [gtiff-install-obj] Error 2
make: *** [frmts-target] Error 2
------------------------

The relevant part of geotiff.cpp is:

------------------------
#if SIZEOF_VOIDP == 8 || defined(__x86_64__)
    // We test __x86_64__ for x32 arch where SIZEOF_VOIDP == 4
    typedef GUInt64 WordType;
#else
    typedef unsigned int WordType;
#endif
------------------------

Should I be adding some exception condition into the ‘if’ part in order to get 
it to use unsigned int instead of GUInt64?  Or is there some other way that 
this should be handled for iOS arm64 when building on Mac OS X?

Cheers,
Nik.

========================================================
NIK SANDS
Line Tamer | Time Traveller | Space Cadet

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to