Compiling TSE with Visual C++ 6.0 Professional
by James Thomas II · in Torque Game Engine Advanced · 02/09/2005 (11:56 am) · 27 replies
Just downloaded the precompiled version of the TSE and attempted compiling using Visual C++ 6.0 Professional (with Service Pack 6). I get 58 errors on the build. I am using DirectX9 SDK (December 2004) release and everything is setup properly. I had to add the Include Files. They were not present after the install of SDK. What am I doing wrong?
#2
02/09/2005 (12:01 pm)
The January build worked on my VS6 compiler
#3
The above is from gamedev.net. (and another bucketload of the same stuff if you google VC6, directx and SDK)
02/09/2005 (12:07 pm)
www.gamedev.net/community/forums/topic.asp?topic_id=288035The above is from gamedev.net. (and another bucketload of the same stuff if you google VC6, directx and SDK)
#4
02/09/2005 (12:09 pm)
Downloading the October 2004 Release now. What is the best site to get the extras?
#5
Number 9 in the list
The extras file just unzips to a temporary folder.
Inside the extras folder you will find a folder called D3DX9 Visual Studio 6
The files inside this folder need copying to your already installed DX9 SDK Lib folder.
02/09/2005 (12:11 pm)
The same place James - www.microsoft.com/downloads/search.aspx?displaylang=en&categoryid=2Number 9 in the list
The extras file just unzips to a temporary folder.
Inside the extras folder you will find a folder called D3DX9 Visual Studio 6
The files inside this folder need copying to your already installed DX9 SDK Lib folder.
#6
02/09/2005 (12:18 pm)
December release does work, just don't use its extras, use one of the others. I just recently switched to .net, but I've been compiling TSE just fine with decembers package.
#7
I added in the October extras and still got 3 errors.
The only way I could get TSE to compile was to uninstall the December update and then install the October update with extras.
02/09/2005 (12:38 pm)
Erik - I tried compiling with the basic December package and got 50+ errors.I added in the October extras and still got 3 errors.
The only way I could get TSE to compile was to uninstall the December update and then install the October update with extras.
#8
02/09/2005 (1:15 pm)
I downloaded October 2004 SDK and the Extras that go along with it. I was able to compile it with no problems. When I launch the program from VS6, it says "Failed to load main.cs" What am I doing wrong?
#9
02/09/2005 (1:30 pm)
Is the exe in the example folder? there should be a main.cs that starts up the game in that folder
#10
It is in the example folder. What I basically compiled was the demo of the TSE features and not the actual full version of the TSE? What do I have to do to actually install the TSE? I am a registered TGE user.
02/09/2005 (1:36 pm)
Anthony,It is in the example folder. What I basically compiled was the demo of the TSE features and not the actual full version of the TSE? What do I have to do to actually install the TSE? I am a registered TGE user.
#11
02/09/2005 (4:44 pm)
You need to set your working dir in the Debugger to be the example dir.
#12
1. I installed Oct 2004 DX9 SDK with Extras
2. I am using Visual C++ 6.0 Professional with SP 6
3. I downloaded the files of the TSE using WinCVS
4. My compiler is setup properly to compile.
5. The TSE files are on the Desktop in the TSE file
6. I am using VC6 since I have VC++6.
7. When I open the TSE SDK.dsw file I make sure that, in the options that the directories have the Oct2004 DX9SDK listed at the top, which they do.
8. I hit Build TSE_DEBUG.EXE (F7). It puts that file in the Example Directory of the TSE folder, which was not there before. When I launch the EXE, it brings up the DEMO (Early Adopter EA1 Demo).
9. Is this what I paid $150.00 for? To actually compile a DEMO file of the TSE? What am I doing wrong? Please help.
I do have Visual Studio .NET 2003 Academic Version (Professional) but it is not installed. Should I just install this and try to compile?
02/09/2005 (8:56 pm)
I did. Here is exactly what I am doing.1. I installed Oct 2004 DX9 SDK with Extras
2. I am using Visual C++ 6.0 Professional with SP 6
3. I downloaded the files of the TSE using WinCVS
4. My compiler is setup properly to compile.
5. The TSE files are on the Desktop in the TSE file
6. I am using VC6 since I have VC++6.
7. When I open the TSE SDK.dsw file I make sure that, in the options that the directories have the Oct2004 DX9SDK listed at the top, which they do.
8. I hit Build TSE_DEBUG.EXE (F7). It puts that file in the Example Directory of the TSE folder, which was not there before. When I launch the EXE, it brings up the DEMO (Early Adopter EA1 Demo).
9. Is this what I paid $150.00 for? To actually compile a DEMO file of the TSE? What am I doing wrong? Please help.
I do have Visual Studio .NET 2003 Academic Version (Professional) but it is not installed. Should I just install this and try to compile?
#13
Not quite sure what you are looking for actually. You'll have to make modifications (game specific for your design) to see differences.
02/09/2005 (9:20 pm)
Have you modified any of the scripts in the example folder? It's going to bring up the delivered scripts, which will be the demo scripts as far as I am aware.Not quite sure what you are looking for actually. You'll have to make modifications (game specific for your design) to see differences.
#14
02/09/2005 (9:30 pm)
You are playing TSE demo? That is it. Use that as a base for your game.
#15
i am using the october update, but am now getting these errors. These have only materialised recently over the last few times of downloading cvs and trying to compile
c:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(1318) : error C2065: 'D3DPERF_BeginEvent' : undeclared identifier
c:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(1324) : error C2065: 'D3DPERF_EndEvent' : undeclared identifier
c:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(1334) : error C2065: 'D3DPERF_SetMarker' : undeclared identifier
Anyone know why??
Cheers
Steve
02/16/2005 (8:34 pm)
Hi,i am using the october update, but am now getting these errors. These have only materialised recently over the last few times of downloading cvs and trying to compile
c:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(1318) : error C2065: 'D3DPERF_BeginEvent' : undeclared identifier
c:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(1324) : error C2065: 'D3DPERF_EndEvent' : undeclared identifier
c:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(1334) : error C2065: 'D3DPERF_SetMarker' : undeclared identifier
Anyone know why??
Cheers
Steve
#17
02/22/2005 (7:13 pm)
I just pulled a recent copy and got those errors also.
#18
02/23/2005 (12:33 pm)
Are you guys completely uninstalling the 9b SDK before installing 9c? Are you sure your includes paths are correct?
#19
It does say
Does anyone know where that is?
02/23/2005 (12:34 pm)
I think we need to down load THIS to get it working . . . .will reply once I get home to try it out. . . .It does say
Quote:
This download does NOT include the DirectX 9.0 SDK Extras content, such as Japanese Docs, Symbol Files, Direct3D XFile Exporters, DirectShow DVD components and a D3dx.lib that is compatible with Visual Studio 6.0
Does anyone know where that is?
#20
Are you sure you're pointing to the right include files? In more recent DXSDK releases, they moved everything to another directory. It might be your settings are referencing the old locations.
02/23/2005 (12:35 pm)
The quick fix - if those are the only errors you have, you might try commenting those lines out. PIX won't show debug annotations, but that's not really a big deal. :)Are you sure you're pointing to the right include files? In more recent DXSDK releases, they moved everything to another directory. It might be your settings are referencing the old locations.
Torque Owner David Barr
Viola Interactive Ltd
The December release does not work with VC6.
The last one that does work is the October release.
You also need the October extras file for the VC6 specific files.
(I found all this out on Saturday whilst eagerly trying to compile TSE for the first time)