Game Development Community

Torque 1.4 xcode build problems

by Valador, Inc. · in Torque Game Engine · 12/26/2006 (6:08 am) · 1 replies

I have no problems building and running Torque 1.4 SDK source code on windows.

But I have a huge problem with xcode:
Here is my xcode output:
Building Target "Torque-MacCarb-Debug" of project "torque_xcode_2_1" with configuration "Default"
Checking Dependencies
JamToolExecution Torque-MacCarb-Debug
Creating directory Torque Demo Debug OSX.app
Running custom Shell Script
Creating directory Torque Demo Debug OSX.app/Contents/Resources
Copying ../engine/platformMacCarb/torqueDemo.icns
Creating directory Torque Demo Debug OSX.app/Contents
Copying (my big long path)/Torque-MacCarb-Debug.build/Info.plist
Copying (my big long path)/Torque-MacCarb-Debug.build/pbdevelopment.plist
Copying (my big long path)/Torque-MacCarb-Debug.build/PkgInfo
Creating (my big long path)/Torque-MacCarb-Debug.build/JavaClasses
Creating (my big long path)/Torque-MacCarb-Debug.build/DerivedSources
Build Succeeded

MY PROBLEM: NO SOURCE CODE IS IN THE BINARY GENERATED!!! NO SOURCE CODE WAS COMPILED AND NO OBJECT CODE WAS LINKED!!!

When I try to build and run, I get this error:
No launchable executable present at path:
Torque Demo Debug OSX.app/Contents/MacOS/Torque Demo Debug

Under the Target, Torque-MacCarb-Debug, I have:
Run Script
Copy Headers (339) (All the Torque headers are listed here, in the xcode IDE)
Copy Bundle Resources (1)
Compile Sources (425) (All the Torque Source code is listed here, in the xcode IDE)
Link Binary with Libraries (10)
Build ResourceManager Resources
Copy Files (4)


Please help!

Thanks

#1
01/03/2007 (12:52 pm)
Mario,

maybe you ran into the same problems as I (my Mac Mini is only a few days old). What I found out is that the Windows version of Torque seems to have a bug when running this version on the Mac. I first downloaded the windows 1.4.2 version of Torque, checked it in in my subversion repository, booted the Mac, checked it out and started to compile the Debug build. And it failed, like in your try.

I found out that only the debug version didn't work, because GG seems to have forgotten to add the file "Torque SDK/xcode/Info-Torque_MacCarb_Debug.plist" in the windows version. If you download the Mac version and add this file to your game directory, the compile would work. It simply seems like GG forgot this file. After I added it, the compile worked flawlessly.

Martin :-)