Game Development Community

Build walkthrough request (MSVC++2005)

by Alex Huck · in Torque Game Engine Advanced · 10/18/2006 (6:07 pm) · 1 replies

Hi, I was wondering if anyone would be so kind as to walk me through the compiling process for TSE on Microsoft Visual C++ 8 (2005)

Here is where I'm at so far, a lot of which is based off this thread: www.garagegames.com/mg/forums/result.thread.php?qt=36953:

downloaded Release_0_3_0 from cvs (I hope this is the latest stable build, am I right?)
It is located at C:\tse

Installed latest (August 2006) Direct X9 SDK
C:\Program Files\Microsoft DirectX SDK (August 2006)\

Installed PlatformSDK
C:\Program Files\Microsoft Platform SDK\


My Tools>Options+Tools and Options|VC++Directories from inside VC++ looks like this(Minus' added for indentation:

Executable files
--C:\Program Files\Microsoft DirectX SDK (August 2006)\Utilities\Bin\x86
--C:\Program Files\Microsoft Platform SDK\Bin
--$(VCInstallDir)bin
--$(VCInstallDir)PlatformSDK\bin
--$(VSInstallDir)Common7\Tools\bin
--$(VSInstallDir)Common7\tools
--$(VSInstallDir)Common7\ide
--$(ProgramFiles)\HTML Help Workshop
--$(FrameworkSDKDir)bin
--$(FrameworkDir)$(FrameworkVersion)
--$(VSInstallDir)
--$(PATH)

Include files
--C:\Program Files\Microsoft DirectX SDK (August 2006)\Include
--C:\Program Files\Microsoft Platform SDK\Include
--$(VCInstallDir)include
--$(VCInstallDir)PlatformSDK\include
--$(FrameworkSDKDir)include

Reference files
--$(FrameworkDir)$(FrameworkVersion)

Library files
--C:\Program Files\Microsoft DirectX SDK (August 2006)\Lib\x86
--C:\Program Files\Microsoft Platform SDK\Lib
--$(VCInstallDir)lib
--$(VCInstallDir)PlatformSDK\lib
--$(FrameworkSDKDir)lib
--$(VSInstallDir)
--$(VSInstallDir)lib

Source files
--$(VCInstallDir)crt\src

Exclude files
--$(VCInstallDir)include
--$(VCInstallDir)PlatformSDK\include
--$(FrameworkSDKDir)include
--$(FrameworkDir)$(FrameworkVersion)

I did add the following entries to the "Additional Entries" section in C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults\corewin_express.vsprops:

user32.lib
gdi32.lib
winspool.lib
comdlg32.lib
advapi32.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
odbc32.lib
odbccp32.lib

I right clicked "Torque Shader Engine" From the solution Explorer, and went to preferences. I set the Debug and release working directories to ../example

I'm building this on WinXP Pro 32-bit with SP2

Once I tried to build Torque Shader Engine, it failed with 3519 errors of various types,

Torque Shader Engine - 3519 error(s), 7 warning(s)
========== Build: 5 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I hope this has been enough information for someone to hopefully find my problem.

I have somewhat medium programming skills, I'm not very familiar with C++. I'm hoping to compile so I can play around with Scripting, Atlas, and hlsl.

Many thanks,
Alex Huck

-edit- I would also like to apologize for asking this, the "Has been asked a million times and answered" question. I did search the forums, however but all the other similar threads did not answer my problem

#1
10/19/2006 (7:50 pm)
I, after some work, got it to build :)
If anyone else is having similar problems, just ask and I'll tell you how I have it set up to compile. And hopefully it will work for you too