Game Development Community

Compiling 1.5.2 on XCODE

by Adam Beaumont · in Torque Game Engine · 05/21/2007 (8:56 am) · 2 replies

Ive been trying to compile te latest 1.5.2 release on mac but having all sorts of problems. keep getting the following errors:

pbxcp: error: open(): /Users/beaumoa/Desktop/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode/../example/Torque Demo Debug OSX.app/Contents/PkgInfo [/SourceCache/pbx_tools/pbx_tools-628.1/pbxcp/file_utils.c:391]: No such file or directory

something isnt being created in the right place but cant figure out what!!!

#1
05/23/2007 (7:30 am)
Totally reinstalled xcode and sdk and now it kinda works (in that it starts compiling) but now it has an error in asm. anyone know what this is?

cd "/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode"
/usr/bin/gcc-4.0 -x assembler-with-cpp -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -w -D__MACOSX__ -DTORQUE_DISABLE_MEMORY_MANAGER -DTORQUE_DEBUG -DENABLE_PROFILER -fmessage-length=0 -fvisibility=hidden -mmacosx-version-min=10.4 -gdwarf-2 -I/Torque\ Game\ Engine\ 1.5.2\ SDK/Torque\ SDK/example/torque_xcode_2_2_UB.build/Default/Torque-MacCarb-Debug.build/Torque\ Demo\ Debug\ OSX.hmap -mdynamic-no-pic -F../example -F../lib/openal/macosx -F../lib/xiph/macosx -I../engine -I../lib -I../lib/lpng -I../lib/ljpeg -I../lib/lungif -I../lib/openal/macosx/eax -I../example/include -I/Torque\ Game\ Engine\ 1.5.2\ SDK/Torque\ SDK/example/torque_xcode_2_2_UB.build/Default/Torque-MacCarb-Debug.build/DerivedSources -force_cpusubtype_ALL -falign-functions=16 -falign-loops=16 -falign-labels=16 -falign-jumps=16 -malign-natural -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Torque\ Game\ Engine\ 1.5.2\ SDK/Torque\ SDK/xcode/../engine/math/mMath_ASM.asm -o /Torque\ Game\ Engine\ 1.5.2\ SDK/Torque\ SDK/example/torque_xcode_2_2_UB.build/Default/Torque-MacCarb-Debug.build/Objects-normal/i386/mMath_ASM.o
/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode/../engine/math/mMath_ASM.asm:1:Junk character 45 (-).
/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode/../engine/math/mMath_ASM.asm:1:Rest of line ignored. 1st junk character valued 45 (-).
/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode/../engine/math/mMath_ASM.asm:2:no such instruction: 'Torque GameEngine'
/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode/../engine/math/mMath_ASM.asm:3:no such instruction: 'Copyright (C)GarageGames.com,Inc.'
/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode/../engine/math/mMath_ASM.asm:4:Junk character 45 (-).
/Torque Game Engine 1.5.2 SDK/Torque SDK/xcode/../engine/math/mMath_ASM.asm:4:Rest of line ignored. 1st junk character valued 45 (-).

...

and a lot more besides

...


Build failed (1 error)
#2
05/23/2007 (8:43 am)
I posted in your other thread also, but it just occured to me that you might want to take a look at the file permissions of your source code and folders.

*edit* Gary solved your problem in the other thread ;)