Game Development Community

Blast back to the past Question about T2d 1.8

by Michael Branin · in Torque 2D Professional · 04/03/2014 (1:07 pm) · 3 replies

Where on earth did the instructions for setting up visual studio to compile T2D 1.8 go? there are not in the documentation that installs with 1.8 and they are not in the official documention section.

I have visual studio express 2010 2012 and 2013.


#1
04/03/2014 (1:42 pm)
D:\dev\Torque2D_1_8\engine\compilers\VisualStudio 2010\T2D SDK.sln is a native Visual Studio 2010 solution.

If you want to use it in Visual Studio 2012 onward, just click on the Project Menu, Update VC++ Project (first option in the menu).

From a fresh install, I had no problem compiling it just now.
#2
04/03/2014 (1:44 pm)
Scratch that, the linker issues errors

Warning 1
warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/SAFESEH' specification D:devTorque2D_1_8enginecompilersVisualStudio 2010OpenGL2D3D.obj opengl2d3d

See next comment for solution
#3
04/03/2014 (2:01 pm)
Solution

For the following projects in the solution

- glu2d3d
- opengl2d3d
- TGBGame
- TorqueGameBuilder

Go to Project=>Properties
Under Configuration Properties, under Linker/Advanced, set the last option "Image Has Safe Exception Handlers" to No.

Compile

Remember also to set the Working Directory to the /tgb folder if you want to run the builder in Debug mode from Visual Studio.
That is found under Configuration Properties, Debugging.

Works fine on my end.