Howto get TGEA-debug working with VS2005
by Stefan Lundmark · in Torque Game Engine Advanced · 10/31/2006 (4:40 am) · 5 replies
I have been slamming my head against this one for the whole weekend.
When running a debug build on my workstation, I get this:
Alot of reports around the internet suggests this is due to not having NET 2.0 installed or that you need to statically link C libraries instead of dynamically (which was part of the problem). None of these two proved to work so here is how I did it:
[Under your project's properties]
- C/C++
- Code Generation
- Runtime Library
Change it to Multi-Threaded Debug.
This will introduce a new problem where most of the CRT stuff won't work.
[Again, under your project's properties]
- Linker
- Input
- Ignore Specific Library
Change this one to LIBCD.
Now your debug build will run on all machines.
When running a debug build on my workstation, I get this:
Quote:
This application could not execute because the configuration is invalid.
Alot of reports around the internet suggests this is due to not having NET 2.0 installed or that you need to statically link C libraries instead of dynamically (which was part of the problem). None of these two proved to work so here is how I did it:
[Under your project's properties]
- C/C++
- Code Generation
- Runtime Library
Change it to Multi-Threaded Debug.
This will introduce a new problem where most of the CRT stuff won't work.
[Again, under your project's properties]
- Linker
- Input
- Ignore Specific Library
Change this one to LIBCD.
Now your debug build will run on all machines.
About the author
#2
Console log ends at:
I can however run release builds, although sound no longer seems to work(it does in MS4 tho). What all got changed that might mess things up so much?
11/23/2006 (6:58 pm)
For some reason my MS4.1 debug builds just won't work at all. When I try to debug, Torque gives me the 'Fail to open main.cs!" error and closes out; then when I run the .exe it simply crashes before the canvas pops up. I've had no problems at all with MS4 debug builds.Console log ends at:
--------- Initializing FPS: Client --------- Executing terrain_water_demo/client/ui/customProfiles.cs. Executing common/client/message.cs. Executing common/client/mission.cs. Executing common/client/missionDownload.cs. Executing common/client/actionMap.cs.
I can however run release builds, although sound no longer seems to work(it does in MS4 tho). What all got changed that might mess things up so much?
#3
The exact console reading that you have and TSE closes after that, both in debug and release.
I have no compile errors or anything.
Have you find any solution Josh ?
I purpused TSE some days ago so this is not fun for me :)
11/26/2006 (11:08 am)
I get the same Josh !The exact console reading that you have and TSE closes after that, both in debug and release.
I have no compile errors or anything.
Have you find any solution Josh ?
I purpused TSE some days ago so this is not fun for me :)
#4
11/30/2006 (4:19 pm)
Go into VC Menu, go to Project/Torque Shader Engine Properties. A properties dialog will open up. Go down to debugging in the tree view (click on it). On the right side you'll see a data field "working directory". Set that to "..\example" and it should run for you.
#5
Think there is some other problem in using win2k with the dxsdk(oct 2004) with the new platformsdk.
Get it to compile but not to run .
It works dedicated , othervise it stops where Josh show .
12/01/2006 (4:19 am)
I know about that Brian , But thanks anyway , been using Torque for some years :)Think there is some other problem in using win2k with the dxsdk(oct 2004) with the new platformsdk.
Get it to compile but not to run .
It works dedicated , othervise it stops where Josh show .
Torque Owner Brian Ramage
Black Jacket Games