Game Development Community

RC1: VS2005 Build Cosmetics

by A. Saratow · in Torque Game Builder · 06/03/2006 (2:06 pm) · 0 replies

It's just for the sake of cosmetics, but...

1) The pre-build event
del ..\..\Lib\directx8\basetsd.h
for projects
- glu2d3d
- opengl2d3d
- t2d
should be replaced by
if exist ..\..\Lib\directx8\basetsd.h del ..\..\Lib\directx8\basetsd.h
.

2) Don't know if it is possible to change this easily, because it is autogenerated, but line 10 in "engine/compilers/VisualStudio2005/T2D SDK.rc" naming
#include "mfc/afxres.h"
should be replaced by
#include "windows.h"
to compile the project in VS2005 (see tdn.garagegames.com/wiki/RTS/Compiling#Edit_TorqueDemo.rc_under_RTS_in_Visual_C....

3) Switch linker setting "Enable Incremental Linking" to "Yes" for Debug configuration of glu2d3d and opengl2d3d projects to disable linker warning LNK4075.

4) Add LIBCMTD to "Ignore Specific Library" linker setting for T2D debug configuration to disable linker warning LNK4098.

5) Change "Working Directory" debugger setting (debug and release configurations) for T2D to
$(TargetDir)
, so TGB will start properly and find the main.cs script file.