VC 7.1 debugging & torque
by Paul Griffiths · in Torque Game Engine · 07/03/2006 (8:44 am) · 4 replies
Can someone please explain how to get debugging working in vc 7.1 with torque, when i click 'start' I get errors:
I get 'failed to find main.cs' in torque.
Then torque shuts down.
Thanks.
I get 'failed to find main.cs' in torque.
Then torque shuts down.
Thanks.
#2
07/03/2006 (1:12 pm)
It needs to be set to ../example. For some reason this setting NEVER sticks. Bonus points to whoever figures out how to keep it set, without a ton of other random settings being messed!
#3
07/03/2006 (1:22 pm)
Thanks all.
#4
The only way to get around it is to check the .opt file into svn/cvs, but then that has the caveat that since it's meant to be machine specific, it can subtly screw things up for some people.
I did investigate finding a way around the way TGE locates the main.cs and game data, but it proved to be a lot more complex then it appears on the surface and I didnt want to waste time on it. Although, I only spent 30 mins on it so I may have missed something ;)
T.
Edit: Set it to $(TargetDir) rather then ../example and it's always correct. It's also quicker to type, since you can just copy/paste from $(TargetPath) two textboxes up (which is always set to that) and change Path to Dir. The net result is less typing and annoyance.
07/03/2006 (4:29 pm)
It's set in the machine specific .opt file. It's not part of the project. This is deliberate since the paths etc may not be relevant to all systems.The only way to get around it is to check the .opt file into svn/cvs, but then that has the caveat that since it's meant to be machine specific, it can subtly screw things up for some people.
I did investigate finding a way around the way TGE locates the main.cs and game data, but it proved to be a lot more complex then it appears on the surface and I didnt want to waste time on it. Although, I only spent 30 mins on it so I may have missed something ;)
T.
Edit: Set it to $(TargetDir) rather then ../example and it's always correct. It's also quicker to type, since you can just copy/paste from $(TargetPath) two textboxes up (which is always set to that) and change Path to Dir. The net result is less typing and annoyance.
Torque Owner Steve Adamson