Changes between Initial Version and Version 1 of Ticket #5198


Ignore:
Timestamp:
Aug 14, 2013, 1:20:00 AM (8 years ago)
Author:
Even Rouault
Comment:

trunk (r26316) and branches/1.10 (r26317) "Compilation fixes for iOS (#5197, #5198)"

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5198

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
    • Property Milestone changed from to 1.10.1
  • Ticket #5198 – Description

    initial v1  
    33GDAL 1.10 fails to build for iOS device with the output below:
    44
     5
     6{{{
    57libtool: link: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk gdalinfo.o commonutils.o -o gdalinfo /Users/nsands/Documents/Nik/Development/gdal-1.10.0/.libs/libgdal.a -lsqlite3 -lz -lpthread -ldl -liconv -lxml2
    68Undefined symbols for architecture armv7:
     
    1214make: *** [apps-target] Error 2
    1315
     16}}}
     17
    1418My temporary work around to this problem was to edit the file 'ogr/ogrsf_frmts/vfk/vfkdatablock.cpp' and comment out the lines that referenced 'clock()' (variable assignments) and the debug line that used those variables.  This resulted in a successful build, however, I'm sure there must be a better solution, which I'll leave to you guys.  :-)