Game Development Community

Compiling Torque

by Bryan Rayner · in Torque Game Engine · 06/21/2006 (4:24 pm) · 18 replies

Anyone Mind telling me why no exe shows up when I compile torque with VS2k5 Express?

Thanks

#1
06/21/2006 (5:32 pm)
If the compiler is set to the correct project and there is no error.
then the file is Somewhere :)
you must check your projet configuration for where it will store the file.

or maybe do a search in the folders if you are lazy.

:)
#2
06/21/2006 (6:30 pm)
If you are using the default settings for torque, the exe produced is TorqueDemo.exe
#3
06/21/2006 (7:21 pm)
If you're having doubts that TorqueDemo.exe was overwritten, make sure to check the creation date and time of TorqueDemo.exe.
#4
06/21/2006 (7:33 pm)
Well, I deleted the exe before the build. A new one has not appeared.
#5
06/21/2006 (7:39 pm)
Well, I deleted the exe before the build. A new one has not appeared.
#6
06/21/2006 (8:03 pm)
This is one of those "If you have to ask" questions..
#7
06/21/2006 (8:10 pm)
Lol, you need to search the folders..
its prolly still in your debug folder and didnt get copied over.
maybe the copy command got lost in the project conversion.
#8
06/22/2006 (1:07 am)
There is no debug folder this time! AARGH!
#9
06/22/2006 (1:30 am)
There is no debug folder this time! AARGH!
#10
06/22/2006 (1:30 am)
@Bryan

Did you check the path in the Working Directory under your Property Pages?
If you follow the guide and steps, it did tell you to go to
Configuration Properties
|____
Debugging

Under Debugging you'll add ../example in the "Working Directory".
Then double check the output File under Linker is ../example/TGE.exe
You need to add this for release and debug configuration
#11
06/22/2006 (1:32 am)
Wait a sec... SORRY, there is a debug folder. (most unlikely place)

No Exe though...
#12
06/22/2006 (1:05 pm)
Sorry, but I just have to ask at this point. Is it even compiling successfully?
#13
06/22/2006 (2:07 pm)
Hello to all.
I just purchased Torque SDK but when i try to compile on Visual Express it finds some errors.
I followed all steps of the tutorial.
Please help!
#14
06/22/2006 (9:48 pm)
Bryan Rayner,

The "debug" version of torque is named "torqueDemo_DEBUG.exe" The release version is "TorqueDemo.exe" Both will appear in the "C:\Torque\SDK\example" folder (assuming you haven't changed any of the settings.)
#15
06/22/2006 (9:51 pm)
Rodrigo,

I would recommend starting a seperate thread being yours is a seperate problem. In that thread please post the compiler errors. The directions on Guide to Compiling TGE 1.4 with Visual Studio 2005 Express were complete instructions (At least for me). As a result one would need more than "it finds some errors"
#16
06/23/2006 (1:21 am)
Oh, "torqueDemo_DEBUG.exe" is there. Just not "torquedemo.exe" When I load the debugger, the torque demo loads after a minute or two. Is that's what's meant to happen?
#17
06/23/2006 (1:39 am)
There are two builds within microsoft Visual Studio for Torque. A Debug and a release version. The Debug version will create a TorqueDemo_debug.exe and the release will create a torquedemo.exe. My guess is that you are building for the debug. To confirm this when you perform the build does your output state:

------ Build started: Project: Torque Demo, Configuration: Debug Win32 ------

Thats the debug version. For the release version it should state:

------ Build started: Project: Torque Demo, Configuration: Release Win32 ------

To change the setting:
1 - Select "Build" (from the menu bar)
2 - Select "Configuration Manager..." from the pull down menu.
This will bring up the configuration manager window.
3 - Set the "Active Solution Configuration:" pull down to a value of "Release"
4 - Rebuild your project.

There you go!

So what is the difference in the two builds? If you want to set break points in your C++ code you need the debug version which has junk ummm I mean debug code that allows you to set break points, look at vars, etc. All this extra code means the debug version run much slower than the released version.

Hope that helps.
#18
06/23/2006 (6:05 pm)
Thank you very much. It does.