Game Development Community

VS 2005 express problem

by Chris Labombard · in Torque Game Engine · 12/20/2005 (5:48 am) · 10 replies

I followed Chris Calef's directions here and ran into some issues. I'm running Windows 2000 here.

1. Step 5 says to delete "basetsd.h" from the lib\directx8 folder in the Torque SDK... I did a search and couldn't find this file anywhere, so I couldn't delete it.

2. When I built the Torque Demo I ended up with 4 Succeeded, 3 Failed.

I'm getting a ton of errors from the Microsoft Platform SDK. (I installed the little version)

Quote:
winWindow.cc
C:\Program Files\Microsoft Platform SDK\Include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
C:\Program Files\Microsoft Platform SDK\Include\winnt.h(222) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Platform SDK\Include\winnt.h(5940) : error C2146: syntax error : missing ';' before identifier 'Buffer'
C:\Program Files\Microsoft Platform SDK\Include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Platform SDK\Include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
winV2Video.cc
C:\Program Files\Microsoft Platform SDK\Include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
etc.

Also, how do I switch to debug mode (I'm in release) ?

... oh ya and "Disable building of the projects max2dtsExport Max3" ... I couldn't figure out how to disable them so I just removed them. (Right click -> Remove)

About the author

I have been a professional game programmer for over 5 years now. I've worked on virtually every platform, dozens of games and released a few of my own games, including 2 iPhone titles and a title waiting release on Big Fish Games.


#1
12/20/2005 (6:30 am)
I found basetsd.h ... It's here: C:\Torque\SDK\lib\directx8

Builds fine now. :)
#2
12/20/2005 (8:53 am)
Open your configuration manager and then you just uncheck the boxes of those you don't want to build.

The configuration manager can be opened from right clicking on the solution, or the build menu, or the drop down box in your toolbar, which also toggles you between release and debug builds.
#3
12/21/2005 (9:38 am)
New problem:

When I change something in the engine I hit Ctrl-F7 to compile it then I right clik Torque Demo and go to build.

Problem is it's taking forever to build. What could be causing it to take so long?
#4
12/21/2005 (1:02 pm)
A full rebuild can easily take 10-15 minutes. If you modify a core header file, it will usually trigger a full rebuild.
#5
12/21/2005 (4:43 pm)
Im modifying a small file that I added to the engine. It is taking about an hour to do a build (not rebuild) on the Torque Demo project.

Any ideas ?
#6
12/21/2005 (5:14 pm)
Sounds extremely strange. I can't imagine its VS2005E's fault though, but anything is possible. All I can really say is its working fine for me (helpful huh?).

What sort of changes are you making, and are these changes dependent on any libraries? As Ben said, if its something important, it will do a full rebuild even if you only selected a build (much to my dismay a few times).
#7
12/22/2005 (3:35 am)
All I did was add the fxRenderObject, rename everything, add a bunch of variables and got it rendering some manually generated polys. The last build I did took 50 minutes.
#8
12/22/2005 (9:44 am)
Have you noticed your computer running slower than normal? How much RAM do you have? Free disk space? Got any virii?
#9
12/23/2005 (3:15 am)
I'll scan it after the new year (at a different dev station for the holidays)

It dfoesnt run particularly slower. I started messing with different compiler settigns and junk. Got it displaying exactly what it's doing... It appears to be crebuilding everything every time I build the project. When I did that I started getting a ton of errors and now it wont build at all (Im giong to reinstall VS)

It's got >512mb ram ... and 600mb free hd space. linker.exe is using about 180mb when it's building.
#10
12/23/2005 (4:22 am)
I think I know why it wouldn't cmopile, though i can't check until the new year... When I added the additional project dependencies I think I only did it for release builds, and I have since switched to a debug build.