Compiling error in OSX 10.5.6 using Xcode 3.0
by Alex Palmquist · in Torque Game Engine · 04/14/2009 (1:28 am) · 1 replies
Building target “Torque-MacCarb-Debug” of project “torque_xcode_2_2_UB” with configuration “Default” — (1 error)
cd "/Applications/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode"
/Developer/usr/bin/g++-4.0 -o "../example/Torque Demo Debug OSX.app/Contents/MacOS/Torque Demo Debug OSX" -L../example -F../example -F../lib/openal/macosx -F../lib/xiph/macosx -filelist "/Applications/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode/../example/torque_xcode_2_2_UB.build/Default/Torque-MacCarb-Debug.build/Objects-normal/i386/Torque Demo Debug OSX.LinkFileList" -framework AGL -framework Carbon -framework OpenGL -framework CoreFoundation -framework DrawSprocket -framework OpenAL -framework Ogg -framework Vorbis -framework Theora -framework ApplicationServices -framework Cocoa -framework Accelerate -arch i386 -prebind -mmacosx-version-min=10.4 -lz -isysroot /Developer/SDKs/MacOSX10.4u.sdk
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is not of required architecture
collect2: ld returned 1 exit status
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is not of required architecture
collect2: ld returned 1 exit status
Build failed (1 error)
Any idea?
cd "/Applications/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode"
/Developer/usr/bin/g++-4.0 -o "../example/Torque Demo Debug OSX.app/Contents/MacOS/Torque Demo Debug OSX" -L../example -F../example -F../lib/openal/macosx -F../lib/xiph/macosx -filelist "/Applications/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode/../example/torque_xcode_2_2_UB.build/Default/Torque-MacCarb-Debug.build/Objects-normal/i386/Torque Demo Debug OSX.LinkFileList" -framework AGL -framework Carbon -framework OpenGL -framework CoreFoundation -framework DrawSprocket -framework OpenAL -framework Ogg -framework Vorbis -framework Theora -framework ApplicationServices -framework Cocoa -framework Accelerate -arch i386 -prebind -mmacosx-version-min=10.4 -lz -isysroot /Developer/SDKs/MacOSX10.4u.sdk
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is not of required architecture
collect2: ld returned 1 exit status
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is not of required architecture
collect2: ld returned 1 exit status
Build failed (1 error)
Any idea?
About the author
Torque Owner Alex Palmquist