Game Development Community

TorqueDemo_DEBUG.exe not torqueDemo.exe

by Levi Putna · in Torque Game Engine · 11/18/2008 (3:16 pm) · 5 replies

I am using Torque + AFX and am having a little trouble building the engine.

I am sure this it a very simple problem however it has me stumped.

I have tried compiling Torque with Visual C++ 2005 and 2008, the engine compiles without errors however I don't get the torqueDemo.exe I only get torqueDemo_DEBUG.exe or in the case of AFX AFX-Demo_DEBUG.exe

Do I have to change some settings to build a non debug version of the engine?

In addition, what is the best free compiler to use?

Thanks,

#1
11/18/2008 (5:03 pm)
On VC++2005 you chose to compile in debug, optimized and release mode. At the top in the centre are 2 drop down menus - one lists the mode and the other should say Win32.

You can change the mode to release there, or in the configuration manager options.

You might also want to change the DirectX mode in DirectX SDK - Utilities - DirectX Control Panel (and disable debugging) if you're disabling compile debugging.

Also you can just rename the compiled .exe file if you want to keep it in debug mode or use optimized mode.

Best free compiler? No idea, but VC++2005 works fine for me.

edit: typo
#2
11/19/2008 (8:52 am)
Here is how I been doing it.

when you open your project
1. right click on torqueDemo in the solution explorer
2. Go down to properties (click)
3.Go down to the Linker on the menu on the left. click it, then click on General
4. On the right side you should see OutputFile. You can rename to what ever you want.


Steve's way is a good way also.
#3
11/19/2008 (10:50 am)
...
#4
11/19/2008 (2:06 pm)
@Jermaine: The problem with that is you still have a debug build, which will run significantly slower than a release build.
#5
11/21/2008 (3:38 pm)
Thanks guys,

I have the release version compiling, even changed the icon.

Cheers