Unable to compile using VS2K5.
by Jacob Van Noort · in Torque Game Engine · 09/25/2006 (8:41 am) · 3 replies
Hello, I just recently purchased the Torque engine so I'm new when it comes to this sort of thing. I followed the VS2K5 tutorial on the Torque wiki site (http://tdn.garagegames.com/wiki/Torque/vs2k5) and when I try to debug I get the error "Unable to start program 'c:\Torque\SDK\example\torqueDemo_DEBUG.exe'.
'c:\Torque\SDK\VS2005\example' is not a valid working directory."
c:\Torque\SDK\example\torqueDemo_DEBUG.exe is valid, however, the example directory is not created in c:\Torque\SDK\VS2005\. It only exists in C:\Torque\SDK.
I followed the tutorial exactly and double checked everything.
What is the issue?
Thanks. :)
'c:\Torque\SDK\VS2005\example' is not a valid working directory."
c:\Torque\SDK\example\torqueDemo_DEBUG.exe is valid, however, the example directory is not created in c:\Torque\SDK\VS2005\. It only exists in C:\Torque\SDK.
I followed the tutorial exactly and double checked everything.
What is the issue?
Thanks. :)
#2
Quote:
"4) Now right-click on Torque Demo in the Solution Explorer and choose "Properties" (at the bottom). Under "Configuration Properties" on the left click on "Debugging". On the right put in ../example in the "Working Directory" property. Next, choose "Release" from the "Configuration" drop down at the top left. Put in ../example in the "Working Directory" property here also."
Note they used / instead of \.
Thanks for pointing that out. :) Right when I saw the \ in your post I kicked myself.
Note to self: Don't follow tutorials blindly.
I get a few compile errors but I take it that's normal. (For example: First-chance exception at 0x7c90eb74 in torqueDemo_DEBUG.exe: 0xC0000008: An invalid handle was specified.)
09/25/2006 (11:24 am)
Well.. I figured out the problem... and the problem is that I DID follow the tutorial word for word. Quote:
"4) Now right-click on Torque Demo in the Solution Explorer and choose "Properties" (at the bottom). Under "Configuration Properties" on the left click on "Debugging". On the right put in ../example in the "Working Directory" property. Next, choose "Release" from the "Configuration" drop down at the top left. Put in ../example in the "Working Directory" property here also."
Note they used / instead of \.
Thanks for pointing that out. :) Right when I saw the \ in your post I kicked myself.
Note to self: Don't follow tutorials blindly.
I get a few compile errors but I take it that's normal. (For example: First-chance exception at 0x7c90eb74 in torqueDemo_DEBUG.exe: 0xC0000008: An invalid handle was specified.)
#3
09/25/2006 (11:48 am)
You should get 8 warnings when you compile.
Torque Owner David Stewart
..\example
in the working directory field and not:
example
?
and did that for both the debug and release?
Did you use the new instructions?