TGEA/InstallVS2005/StepFour

From TDN

Step Four - Configure the VS2005 compiler


First we need to set up the proper include and library paths to point to the DXSDK and Platform SDK. Begin by opening VS 2005 and navigating to Tools/Options via the menu:


Image:VS2005_Setup-1.jpg


Go down to "VC++ Directories" in the tree control of the options dialog:


Image:VS2005_Setup-2.jpg


Select "Include Files" from the upper right of the dialog. Then click at the bottom of the list control and browse for the DirectX SDK include directory:


Image:VS2005_Setup-3.jpg


Then hit the "up arrow" button located in the upper right of the dialog to put the DirectX directory at the top:


Image:VS2005_Setup-4.jpg


Repeat this process for the Platform SDK include directory, but raise it to the slot just below the DirectX directory:


Image:VS2005_Setup-5.jpg


Select "Library Files" from the upper right of the dialog. Repeat the same process for the library directories as you did with the include directories:


Image:VS2005_Setup-6.jpg


Close the dialog. Now open up the "TGEA SDK" project solution located in the VC8 directory of the TGEA download by surfing to it from the 'File>open>File...' . Make sure that the "Torque Game Engine Advanced" project is selected in the Solution Explorer. Now navigate to Project/Properties from the main menu:


Image:VS2005_Setup-7.jpg


Open the "Debugging" dialog as shown below. Select "All Configurations" from the dropdown in the upper left of the dialog. Then change the Working Directory to be "..\example":


Image:VS2005_Setup-8.jpg



Close the dialog and your setup is complete. TGEA is ready to be built and run!



Back to Step Three: TGEA/InstallVS2005/StepThree