Game Development Community

Visual C++ 2005 Express

by Holger · in Torque Game Engine · 03/05/2006 (1:42 pm) · 5 replies

Tried to use VC++ 2005 to compile the lighting kit, but could not succeed.

Used the help from the TDN - site (to build torque with VC++ 2005)

Is there any help how to use the Express 2005 Version together with the lighting kit?

I am not familiar with C++ but could compile the kit with Visual C++ 2003 sucessfully.


Thanks for any help.

#1
03/05/2006 (3:56 pm)
This is not specific to the lighting kit (TLK).

However, if you really want some help, then post some details about your issue.
As it stands, your problem could be anything without knowing what errors you get.
#2
03/06/2006 (5:30 am)
What problems are you running into?
#3
04/26/2006 (7:38 am)
I've just tried, and here's what I did
* extracted the zip-file in C:\Torque, so the path becomes C:\Torque\SynapseGaming\Content...
* opened Torque SDK.sln in Visual Studio 2005 Express
* Ran the conversion
* Changed Configuration Properties / C/C++ / Language / Treat wchar_t as Built-in Type to No
* Removed basetsd.h from lib/directx8
* Added user32.lib gdi32.lib advapi32.lib to Configuration Properties / Linker / Input / Additional Dependencies
* Compiled

And it seems to have done the trick.
#4
04/26/2006 (10:36 am)
I've changed Tread wcar_t to no in all the projects in the solution. And yes I also deleted the basetsd.h file from disk.

If your error is that windows.h can't be opened, perhaps you haven't downloaded Microsoft Platform SDK?? This is a requirement, when you downloaded VS2005 express there should have been a link to the download of this SDK. The lib-files I added only to the Torque SDK project. Not the others.
#5
04/26/2006 (1:57 pm)
You need to start with a clean TGE 1.4 to make sure the TDN process works correctly for you.

If all goes well perform the same steps on TLK 1.4 and then add the TLK source files as outlined in the Developer's Guide section 'Adding TLK Files to the Torque Projects'.