Compiling... I'm clueless.
by Lonestar · in Torque Game Engine · 04/08/2007 (11:50 pm) · 13 replies
So, I just bought Torque, but I've never used a C++ compiler before. I'm on OS X 1.4.8, with XCode 2.1, and Torque 1.5. The guide on the Torque Documentation site doesn't seem to be working... can anyone give me a better description on compiling on Mac? Huge thanks in advance. :)
About the author
#2
04/11/2007 (6:08 pm)
Well, it turns out I don't have the correct version of XCode. Where would I be able to get a more recent version? I can't find this "free" online membership to Apple's Development thing, it's asks me for a shipping address and everything when I try and sign up. ANY HELP??
#3
04/12/2007 (6:16 pm)
Well, it looks like once again the GarageGames community will be no help to me or anyone on a Mac, so fine. Will someone explain a way to do it on PC?
#4
I can point you to documentation for it:
http://tdn.garagegames.com/wiki/Torque/vs2k5
This should help get you started.
Steve
04/12/2007 (6:19 pm)
Hi there,I can point you to documentation for it:
http://tdn.garagegames.com/wiki/Torque/vs2k5
This should help get you started.
Steve
#5
You can download the latest version of XCode from Apple's web site at:
http://developer.apple.com/tools/xcode/
It takes a little bit of fiddling to get it to compile the first time, but really not much. Once you get the latest XCode, give it a try and post if here you have any problems. I'll keep an eye out.
04/12/2007 (6:35 pm)
Sorry, didn't see this until now.You can download the latest version of XCode from Apple's web site at:
http://developer.apple.com/tools/xcode/
It takes a little bit of fiddling to get it to compile the first time, but really not much. Once you get the latest XCode, give it a try and post if here you have any problems. I'll keep an eye out.
#6
04/12/2007 (9:28 pm)
Yeah, I know XCode's there, but the "free membership" asks for things like a shipping address and that, so I didn't want to if I didn't have to. But I was past caring at that point, and put things like "Why do you need to know?" in the boxes. :D It accepted it, and I got XCode 2.4.1_8. Build succeeded, 1 warning. But... now what? Where's the compiled program?
#7
04/12/2007 (11:32 pm)
In Xcode, if you look under the Project menu, there should be a selection "Edit Project Settings". If you select that, under the "General" tab there should be a section where it says "Place build products in:" with a selection for either "Default build products location" or "Custom location". Usually the "Default" option will be selected, and you should see the directory path where the build is put. Typically, it's in the /TorqueSDK/example/ directory.
#8
04/13/2007 (2:05 am)
I compiled it, but there's only a "torque_xcode_2_2UB.build" folder where I compiled it. Does it have to be in the same directory as the demo?
#9
04/13/2007 (4:46 am)
So in your TorqueSDK/example folder you see nothing except the "torque_xcode_2_2UB.build" folder?
#10
04/13/2007 (2:10 pm)
All the stuff that was there still is, but the only new thing is the folder.
#11
If not...do a quick search to see where on your hard drive it was created.
04/13/2007 (3:27 pm)
So....do you see a file called "Torque Demo OSX" or "Torque Demo Debug OSX"?If not...do a quick search to see where on your hard drive it was created.
#12
04/13/2007 (3:36 pm)
Yeah, they're there. But when I use them they seem to work the same as the original demos. Are they it?
#13
The TGE 1.5 download already contained a compiled application; you merely re-compiled it to the same location, overwriting the old one. The functionality will be the same -- the application basically just runs the game that is specified in the script files that are in the app's directory.
04/13/2007 (3:41 pm)
Yep, that's what they are. You can check the file's creation date to make sure it's the one you just compiled.The TGE 1.5 download already contained a compiled application; you merely re-compiled it to the same location, overwriting the old one. The functionality will be the same -- the application basically just runs the game that is specified in the script files that are in the app's directory.
Torque Owner Lonestar