[gdal-dev] Can't compile 1.11.0 for iOS with 'expected statement' error for gdalgrid.cpp
Nik Sands
nixanz at nixanz.com
Wed Jul 9 17:03:36 PDT 2014
Hi all,
I'm attempting to upgrade my iOS app from GDAL 1.10.1 to 1.11.0 in order to take advantage of the new OpenFileGDB driver. However, I've been unable to get it to compile for iOS so far with the error output below (note that in this instance it is attempting to compile for i386 for the iOS simulator.)
I've had a look at code it's complaining about (line 1806 in 'gdalgrid.cpp') and I can't figure out what the problem is. The brackets appear to be OK and I'm not sure why it doesn't like the closing bracket there.
Can anybody help me figure this one out?
Cheers,
Nik.
libtool: compile: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ -arch i386 -pipe -Os -gdwarf-2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -Wno-implicit-function-declaration -D__IPHONE_OS_VERSION_MIN_REQUIRED=70000 -Wall -I/Users/nsands/Documents/Nik/Development/GDAL/gdal-1.11.0/port -I/Users/nsands/Documents/Nik/Development/GDAL/gdal-1.11.0/gcore -I/Users/nsands/Documents/Nik/Development/GDAL/gdal-1.11.0/alg -I/Users/nsands/Documents/Nik/Development/GDAL/gdal-1.11.0/ogr -I/Users/nsands/Documents/Nik/Development/GDAL/gdal-1.11.0/ogr/ogrsf_frmts -DHAVE_AVX_AT_COMPILE_TIME -DOGR_ENABLED -I/Users/nsands/Documents/Nik/Development/GDAL/gdal-1.11.0/port -c gdalgrid.cpp -o gdalgrid.o
gdalgrid.cpp:1806:17: error: expected statement
}
^
1 error generated.
make[1]: *** [gdalgrid.lo] Error 1
make: *** [core-target] Error 2
More information about the gdal-dev
mailing list