Re: [gdal-dev] Cannot compile 1.10 for iOS due to missing crt_extern

2013-08-13 Thread Nik Sands
No problem. I've now logged these issues in GDAL Trac as two separate tickets (not sure if they should be in one ticket or two?): Ticket #5197 Ticket #5198 On 13/08/2013, at 4:06 PM, Even Rouault wrote: > Selon Nik Sands : > >> PS. I've got a work around for now... >> >> I

Re: [gdal-dev] Cannot compile 1.10 for iOS due to missing crt_extern

2013-08-12 Thread Even Rouault
Selon Nik Sands : > PS. I've got a work around for now... > > I edited the file "ogr/ogrsf_frmts/vfk/vfkdatablock.cpp" and commented out > the lines that referenced "clock()", and the debug line which appears to be > all that was using it. > > It then built OK. :-) > > I'm sure you guys can com

Re: [gdal-dev] Cannot compile 1.10 for iOS due to missing crt_extern

2013-08-12 Thread Nik Sands
PS. I've got a work around for now... I edited the file "ogr/ogrsf_frmts/vfk/vfkdatablock.cpp" and commented out the lines that referenced "clock()", and the debug line which appears to be all that was using it. It then built OK. :-) I'm sure you guys can come up with a proper solution, but

Re: [gdal-dev] Cannot compile 1.10 for iOS due to missing crt_extern

2013-08-12 Thread Nik Sands
Hi Even, Your suggestion has helped a little, but I still can't compile for iOS (device). I'm getting the following at the end of the build output... libtool: compile: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ -arch armv7 -pipe -Os -gdwarf-

Re: [gdal-dev] Cannot compile 1.10 for iOS due to missing crt_extern

2013-08-11 Thread Even Rouault
Le lundi 12 août 2013 02:17:33, Nik Sands a écrit : > Hi list members, > > I was able to build GDAL 1.9 for iOS, and I can build 1.10 for the iOS > simulator, however I cannot compile GDAL 1.10 for the actual iOS > (devices). It appears that this is because crt_extern is not included in > iOS. >

[gdal-dev] Cannot compile 1.10 for iOS due to missing crt_extern

2013-08-11 Thread Nik Sands
Hi list members, I was able to build GDAL 1.9 for iOS, and I can build 1.10 for the iOS simulator, however I cannot compile GDAL 1.10 for the actual iOS (devices). It appears that this is because crt_extern is not included in iOS. The code that trips up the build is in 'cpl_spawn.cpp' and appe