Closed scspijker closed 10 years ago
Hi, GEOS is fine with armv7, the issue seems to be with the standard c++ library you're linking with. Double check that you did this step while setting up your project:
Now an extra step is required: rename your main file main.m to main.mm The long story is that SpatialDBKit dependencies reside on C++ libraries, so we should tell the compiler that our project files should be treated as Objective-C++. The podspec correctly sets C++ Standard Library project's build setting to libstdc++ (GNU c++ standard library), but XCode 5.1 can't find any Objective-C++ file in the main project, so ignores the setting and links with libc++. Renaming a file with .mm extension does the trick.
I want to use MKTileOverlay in my application, which means I need to compile against the iOS 7 SDK, with a minimum deployment target of iOS 7.0. I set the GEOS project to use the iOS 7.1 SDK, with a deployment target of iOS 7.0.
Compiling works fine, but at link time I get a lot of errors concerning undefined symbols for architecture armv7 in geos... Some examples:
Does GEOS simply not support armv7, or are my project settings wrong somehow?