Hi, I have a problem cross-compiling IlmBase with Xcode 4.31 for iOS i can build for i386 emulator but i have following error on arm: Please advise.
make all-am /bin/sh ../libtool --tag=CXX --mode=compile /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer /usr/bin/g++ -DHAVE_CONFIG_H -I. -I../config -I../config -pipe -arch armv7 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ Developer/SDKs/ iPhoneOS5. 1.sdk -miphoneos-version-min=4.0 -D_THREAD_SAFE -MT half.lo -MD -MP -MF .deps/half.Tpo -c -o half.lo half.cpp libtool: compile: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ Developer /usr/bin/g++ -DHAVE_CONFIG_H -I. -I../config -I../config -pipe -arch armv7 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ Developer/SDKs/ iPhoneOS5. 1.sdk -miphoneos-version-min=4.0 -D_THREAD_SAFE -MT half.lo -MD -MP -MF .deps/half.Tpo -c half.cpp -o half.o half.cpp:58: error: expected primary-expression before 'const' half.cpp:58: error: expected ',' or ';' before 'const' make[2]: [half.lo] Error 1 (ignored) i386: make all-am /bin/sh ../libtool --tag=CXX --mode=compile /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Developer/ usr/bin /g++ -DHAVE_CONFIG_H -I. -I../config -I../config -pipe -arch i386 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Developer/SDKs /iPhoneSimulator5.1.sdk -miphoneos-version-min=4.0 -D_THREAD_SAFE -MT half.lo -MD -MP -MF .deps/half.Tpo -c -o half.lo half.cpp libtool: compile: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Developer/usr/ bin/g++ -DHAVE_CONFIG_H -I. -I../config -I../config -pipe -arch i386 -pipe -no-cpp-precomp - isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Developer/SDKs /iPhoneSimulator5.1.sdk -miphoneos-version-min=4.0 -D_THREAD_SAFE -MT half.lo -MD -MP -MF .deps/half.Tpo -c half.cpp -o half.o mv -f .deps/half.Tpo .deps/half.Plo _______________________________________________ Openexr-devel mailing list Openexr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/openexr-devel