Compiling T3d for the first time
by Tarly · in Torque 3D Beginner · 12/27/2012 (4:45 pm) · 6 replies
After a few hours... I was able to figure out how to change the ico in both the upper left corner of the game window, and the .exe ico that launches the game.
Thank you forums LOL..
Now.. I can't figure out why I get a ton of file line my main game Dir and they all end in Debug.. I am using VS 2008 (Thank you Scott for reminding me that MS has all downloads in MS/downloads.) Trying to figure out VS 2010 and the 2012 cost me HOURS of dead time.
I got game_debug.dll
game_debug.exp
game_debug.exe <-- has the right ICO though
Game_debug.ilk
and not sure why...
when I compile under VC 2008 I use Buld at the top then Build - Build solution
and Build, then build game name... both give me the debug files...
Could someone explain how one gets a .exe that does not have debug in it ? and what the debug files do ?
Thank you in advance.
Tarly
Thank you forums LOL..
Now.. I can't figure out why I get a ton of file line my main game Dir and they all end in Debug.. I am using VS 2008 (Thank you Scott for reminding me that MS has all downloads in MS/downloads.) Trying to figure out VS 2010 and the 2012 cost me HOURS of dead time.
I got game_debug.dll
game_debug.exp
game_debug.exe <-- has the right ICO though
Game_debug.ilk
and not sure why...
when I compile under VC 2008 I use Buld at the top then Build - Build solution
and Build, then build game name... both give me the debug files...
Could someone explain how one gets a .exe that does not have debug in it ? and what the debug files do ?
Thank you in advance.
Tarly
About the author
#2
To compile under VS2012:
Open the 2010 solution found at <project folder>/buildFiles/VisualStudio 2010/<projectname>.sln
When prompted, allow it to update project files.
Set the solution configuration to "Release"
Right click on the project "<project name> DLL" and select Properties
In properties, navigate to Configuration Properties->Linker->Advanced
Scroll down in the right pane and change "Yes (/SAFESH)" to "No (/SAFESH:NO)"
Then you're fine to build using Build->Build Solution.
There are included files built under 2010, which are 'potentially incompatible' with 2012, however I have yet to find any problems. I haven't gone digging enough to establish how to rebuild them myself so avoid having to switch the safesh flag. Otherwise, this should be good to get you up and building in VS2012.
If you've heavily customized your VS2008 projects, you'll need to add your settings to the 2010 projects, or to the 2012 projects after conversion. A suggestion here, is create a new property sheet and make your changes there, so it becomes very easy to apply to the projects. There are tutorials on this scattered all over the internet.
12/28/2012 (3:25 pm)
You said it was costing hours of "dead time" for 2012. If you'd like, it only takes a moment assuming you've got an up to date solution and project files. To compile under VS2012:
Open the 2010 solution found at <project folder>/buildFiles/VisualStudio 2010/<projectname>.sln
When prompted, allow it to update project files.
Set the solution configuration to "Release"
Right click on the project "<project name> DLL" and select Properties
In properties, navigate to Configuration Properties->Linker->Advanced
Scroll down in the right pane and change "Yes (/SAFESH)" to "No (/SAFESH:NO)"
Then you're fine to build using Build->Build Solution.
There are included files built under 2010, which are 'potentially incompatible' with 2012, however I have yet to find any problems. I haven't gone digging enough to establish how to rebuild them myself so avoid having to switch the safesh flag. Otherwise, this should be good to get you up and building in VS2012.
If you've heavily customized your VS2008 projects, you'll need to add your settings to the 2010 projects, or to the 2012 projects after conversion. A suggestion here, is create a new property sheet and make your changes there, so it becomes very easy to apply to the projects. There are tutorials on this scattered all over the internet.
#3
Felyzaq.. thank you for the input..
Richard.. thank you... will check it out now
T.
12/29/2012 (5:37 pm)
thank you both... the dead time came from me not knowing what the WHO HA I am doing.. LOLFelyzaq.. thank you for the input..
Richard.. thank you... will check it out now
T.
#5
12/30/2012 (6:13 am)
In your screen shot, see where it says "bug" thats part of the word "debug" click the dropdown arrow next to it, and select release :)
#6
OH M Y GOD!!
Howq in the world have I missed that. DUDE!!! I htought you had dropped a byte or two... I read your note.. opened Vs2008 clicked on build, read your post... looked again. Saw nohting... thought you were stoned. Clicked "Debug" Looked over it all... stilll thought you were stoned.
Opened my post on GG forums.... Looked at the screenie for something that said bug...
thought you were stoned.. as no BUG was listed under the drop downs. Scratched my head.. was perplexed, wife came in the and asked what was up.
I told her "this guy is tryin to help me out, but he is stoned, there is no "bug" under either drop down.
Wife said... "How about right there? and pointed to "BUG"! I hollered and giggled. She then reminded me in that gentle wife manner... you know the one where I am being a spaz and she has to reel me in. She told me, "Cliff, slow down. read it a couple times, after you put on your glasses and when you ask for help, don't assume the guy is stoned."
Guys, I appre all the help in this.
Respectfully,
Clifford
"Tarly"
12/30/2012 (10:32 am)
OMG!!OH M Y GOD!!
Howq in the world have I missed that. DUDE!!! I htought you had dropped a byte or two... I read your note.. opened Vs2008 clicked on build, read your post... looked again. Saw nohting... thought you were stoned. Clicked "Debug" Looked over it all... stilll thought you were stoned.
Opened my post on GG forums.... Looked at the screenie for something that said bug...
thought you were stoned.. as no BUG was listed under the drop downs. Scratched my head.. was perplexed, wife came in the and asked what was up.
I told her "this guy is tryin to help me out, but he is stoned, there is no "bug" under either drop down.
Wife said... "How about right there? and pointed to "BUG"! I hollered and giggled. She then reminded me in that gentle wife manner... you know the one where I am being a spaz and she has to reel me in. She told me, "Cliff, slow down. read it a couple times, after you put on your glasses and when you ask for help, don't assume the guy is stoned."
Guys, I appre all the help in this.
Respectfully,
Clifford
"Tarly"
Torque Owner Richard Ranft
Roostertail Games