Compiling problem - Big exe and slow gameplay...?
by Jesse P · in Torque Game Engine · 12/22/2007 (10:53 pm) · 5 replies
Hey I've been working with torque and torquescript for several months now but when it comes to messing with the C++ code if I try to compile it the compiled TorqueDemo.exe is about 7 megs vs. the 1 meg TorqueDemo.exe that came with the engine, also the exe version that I compile runs wayyy slow and laggy compared to the fast smooth gameplay I have when I use the original executable that came with it. What gives?
The compiler I was using is the one with Visual Studio 2005 Pro.
Also on a side note I'd like to know what compiler is recommended.
Thanks in advance
The compiler I was using is the one with Visual Studio 2005 Pro.
Also on a side note I'd like to know what compiler is recommended.
Thanks in advance
#2
Now how in the heck to I go about compiling the RELEASE? Thanks
12/23/2007 (9:08 am)
Yes when it compiles it says TorqueDemo_DEBUG.exeNow how in the heck to I go about compiling the RELEASE? Thanks
#3
12/23/2007 (9:25 am)
In your target options, select release. Depending on your version of Visual Studio, it should be on a drop-down on the toolbar.
#4
12/23/2007 (9:33 am)
Open the 'Build' menu and select 'Configuration Manager...'. When the Configuration Manager window opens, from the 'Active solution configuration:' dropdown list select 'Release'. Click 'Close'. From the 'Build' menu select 'Rebuild Solution'. There you go. :)
#5
12/23/2007 (3:26 pm)
Awesome thanks
Torque Owner Michael Bacon
Default Studio Name
The demo exe is COMPRESSED. Look up UPX on google.
Secondly, are you sure you are not compiling the DEBUG version of the engine. DEBUG is slower than RELEASE because it well.. contains DEBUG information and extra code to check parameters and such.