openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] Cross-compiling problem for iOS


From: vd
Subject: [Openexr-devel] Cross-compiling problem for iOS
Date: Wed, 14 Mar 2012 21:33:32 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]