I am trying to build the libosmscout-iOS project (sample project included with libosmscout) for my device (iPhone 6) but it is giving me lots of errors. Building in the simulator works fine.
I am getting errors for each of the linked libraries:
libosmscout.a
Each one of those libraries has errors in the mmintrin.h file, which has to do with Apple’s Clang, which is strange:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.3.0/include/mmintrin.h:39:5: Use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless’?
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.3.0/include/mmintrin.h:39:25: Too few arguments to function call, expected 2, have 0
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.3.0/include/mmintrin.h:45:19: Use of undeclared identifier ‘__builtin_ia32_vec_init_v2si'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.3.0/include/mmintrin.h:111:19: Use of undeclared identifier ‘__builtin_ia32_punpcklwd’
… many many more errors
Are there some building settings in Xcode that need to be changed?
Any help would be appreciated!
Thanks,
Nicholas Hubbard
Owner
Zed Said Studio LLC
www.zedsaid.com
ni...@ze...
|