TGB/Setting up Compiler
From TDN
Setting up Microsoft Visual C++ 2008 Express
1. Download and install Visual Studio C++ 2008 from: http://www.microsoft.com/express/download/default.aspx
2. download and install the Windows SDK for Windows Server 2008 and .NET Framework 3.5: http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en
3. follow the steps on this page for setting up the directories: http://tdn.garagegames.com/wiki/T2D/TGBTutorials/WindowsSystemSetup
You should have set up 3 directories and the PATH variable. PATH is set to the same folder as the first directory. The above link shows a different directory.
4. Open up Visual C++ 2008 Express and goto File->Open->Project/Solution. Navigate to TGB's engine\compilers\VisualStudio2005 and open the T2D SDK.sln (Don't open the .Net version I couldn't get it to work)
5. Goto Build->Build Solution or F7. and in a short while you should have an error free build of TGB.
Note - if compiling an older version of TGB the following might be necessary after step 3:
Navigate to your TGB folder and find the engine\source\platformWin32\platformWin32.h file. In the .h file change the _WIN32-WINNT 0x0400 to 0x0501 as per this tread:
http://www.garagegames.com/mg/forums/result.thread.php?qt=74770



