Game Development Community

Compiling TGB 1.5 Beta 3 for Mac on XCode?

by Vern Jensen · in Torque Game Builder · 04/25/2007 (12:12 pm) · 7 replies

I've got the latest version of XCode, and recently downloaded TGB 1.5 Beta 3. This is the first time I've ever tried compiling the engine source... never had a need to do so until recently. Anyway, when I compile, I get one error (the top 1 is the error, the last 3 are warnings, but I have a feeling the error stems from the warnings):

cIEditor.cpp:0: Command /usr/bin/gcc-4.0 failed with exit code 1
cIEditor.cpp:0: i686-apple-darwin8-gcc-4.0.1: no input files
cIEditor.cpp:0: i686-apple-darwin8-gcc-4.0.1: warning: '-x c++' after last input file has no effect
cIEditor.cpp:0: i686-apple-darwin8-gcc-4.0.1: /Users/vernold/Desktop/Torque_Game_Builder_Pro_Mac_1_5_Beta_3/engine/compilers/Xcode/../../source/component/interfaces/cIEditor.cpp: No such file or directory

I'm rather inexperienced with XCode (used to use CodeWarrior on the Mac, in the pre-OS X days), so I'm rather lost as to what this means, or how to fix it. Ideas???

#1
04/25/2007 (2:31 pm)
Hey Vern

Did you read "getting started.txt" in the xcode folder of TGB.... Try the following:

(edited)
2.1.1) For Xcode2.1+
----------------------------------------
There are 2 script files embedded in the build targets, that will run
each time the targets are built. One of them attempts to repair broken
symbolic links in the bundled OpenAL and xiph.org frameworks. The other
performs some critical setup on the torque/pb/build folder.

If this 2nd script: "Fix Build Products Path" fails for any reason,
Xcode will probably fail to run or debug the application, giving the
error: "No launchable executable at path".

Carpenter Software
#2
04/26/2007 (6:31 pm)
@ Carpenter: The file you mention is found in (and applies to) the 1.1.3 and earlier TGB packages. 1.5 Beta 3 doesn't have the "getting started.txt" file.

Another neat thing is that they've included the "Install Torquescript for XCode.pkg" file. Now installing the filter is as easy as double-clicking the file! Nice!

@Vern: I'm getting the same errors with the 1.5 Beta 3 build. Not sure what's going on... Are the files necessary?
#3
04/27/2007 (9:51 am)
That error means that a file is in the Xcode project, but Xcode cannot find it on disk.
Now, the simplest solution is to simply delete the file from the Xcode project.

However, ciEditor is used by the behaviors system, so I'm not exactly sure why it's not in there. I'll check it out today.

/Paul
#4
06/04/2007 (1:42 am)
I, too would like to know "when" this issue will be resolved. I expect the code to be working from the beginning, since TGB is not free. ( should have more resource than opensource projects)

or if you guys at GG are too busy fixing other stuff, I would like to get cvs(svn) access so i can dig around myself.
#5
07/24/2007 (8:02 pm)
This situation applies to TGB1.5 Gold. Just remove the reference to ciEditor will do.
#6
11/29/2007 (1:54 pm)
FYI, this error still exists in the latest build of TGB. (1.5.1)
#7
12/31/2007 (8:18 pm)
FYI, this error still exists in the latest build of TGB. (1.6.0)

Happy New Year :)