Compiling TGE 1.4 w/ VS2005 Express???
by Sixth World Games Team · in Torque Game Engine · 08/07/2006 (3:28 pm) · 5 replies
I am trying to get TGE 1.4 compiled with Visual Studio 2005 Express. I downloaded the latest version of the SDK using TortoiseCVS. Then I followed the instructions exactly from this TDN resource:
tdn.garagegames.com/wiki/Torque/vs2k5
I downloaded the TGE_VS2005 patch and applied it to the folder. When I try to build I get 3 fails every time. Then I started over and tried the "old directions" and still, same thing. I also have searched the forums and other resources, but none of those solutions worked for me. Is there something I missed?
It seems that I'm getting "The system cannot find the path specified." for various files. Does the SDK have to be installed to "c:\torque"? Am I overlooking something?
Here is the output I'm getting from trying to do a clean build:
If someone can help me out with this it would be much appreciated. Thanks.
tdn.garagegames.com/wiki/Torque/vs2k5
I downloaded the TGE_VS2005 patch and applied it to the folder. When I try to build I get 3 fails every time. Then I started over and tried the "old directions" and still, same thing. I also have searched the forums and other resources, but none of those solutions worked for me. Is there something I missed?
It seems that I'm getting "The system cannot find the path specified." for various files. Does the SDK have to be installed to "c:\torque"? Am I overlooking something?
Here is the output I'm getting from trying to do a clean build:
------ Build started: Project: opengl2d3d, Configuration: Debug Win32 ------ Compiling manifest to resources... Linking... Embedding manifest... The system cannot find the path specified. Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. Build log was saved at "file://g:\TGE\torque\lib\out.VC8.DEBUG\opengl2d3d\BuildLog.htm" opengl2d3d - 1 error(s), 0 warning(s) ------ Build started: Project: glu2d3d, Configuration: Debug Win32 ------ Embedding manifest... The system cannot find the path specified. Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. Build log was saved at "file://g:\TGE\torque\lib\out.VC8.DEBUG\opengl2d3d\BuildLog.htm" glu2d3d - 1 error(s), 0 warning(s) ------ Build started: Project: Torque Demo, Configuration: Debug Win32 ------ Performing Custom Build Step nasm: unable to open output file '.\../engine/out.VC8.DEBUG/blender_asm.obj' Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step" Creating browse information file... Microsoft Browse Information Maintenance Utility Version 8.00.50727 Copyright (C) Microsoft Corporation. All rights reserved. BSCMAKE: error BK1506 : cannot open file '..\engine\out.vc8.debug\abstractPolyList.sbr': No such file or directory Build log was saved at "file://g:\TGE\torque\engine\out.VC8.DEBUG\BuildLog.htm" Torque Demo - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 3 failed, 4 up-to-date, 0 skipped ==========
If someone can help me out with this it would be much appreciated. Thanks.
About the author
#2
08/07/2006 (9:24 pm)
No, I am sure it was patched to the correct folder. The overwrite warning came up for the exact same 5 files it listed in the tutorial so I'm sure that is not the problem. Can anyone explain why this doesnt work or maybe point me in the right direction. I followed the instructions on the TDN multiple times and still I get nothing.
#3
I had an error similar to your first two and that was my problem if I remember right.
08/08/2006 (2:33 am)
Check your environment settings and make sure the platform SDK paths are referenced and are at or near the top of the directory lists. You have to do this for Include files, Library files and Executable files.I had an error similar to your first two and that was my problem if I remember right.
#4
I have since completely deleted Torque from my computer, uninstalled VS2005 and reinstalled the Microsoft Platform SDK. Then I reinstalled VS2005 Express, downloaded a fresh copy of TGE from the CVS, applied the patch and tried again. Same story. I have followed the instructions on the TDN exactly, browsed through every forum post or resource that was searchable and still I can't figure this out.
Here are the two BuildLogs created when I attempt to compile (use IE):
BuildLog 1
BuildLog 2
Maybe these will help with any troubleshooting.
I'd really like to get the ball rolling on this as soon as possible. I feel I have already spent more than enough time trying to work at this myself, especially for something that is supposed to be covered in the TDN. If anyone is using VS2005 and can help me out, please do so. Thanks.
08/08/2006 (4:31 pm)
Rodney: I checked the environment settings in VS2005 and the PlatformSDK paths are listed there. I made sure the Bin/Include/Lib were all uppercase (as mentioned in a forum post) and even hardcoded the directory paths just in case the $(VCInstallDir) was somehow messed up. Same errors.I have since completely deleted Torque from my computer, uninstalled VS2005 and reinstalled the Microsoft Platform SDK. Then I reinstalled VS2005 Express, downloaded a fresh copy of TGE from the CVS, applied the patch and tried again. Same story. I have followed the instructions on the TDN exactly, browsed through every forum post or resource that was searchable and still I can't figure this out.
Here are the two BuildLogs created when I attempt to compile (use IE):
BuildLog 1
BuildLog 2
Maybe these will help with any troubleshooting.
I'd really like to get the ball rolling on this as soon as possible. I feel I have already spent more than enough time trying to work at this myself, especially for something that is supposed to be covered in the TDN. If anyone is using VS2005 and can help me out, please do so. Thanks.
#5
Go to the registry and edit this value:
HKEY_CURRENT_USER/Software/Microsoft/Command Processor/Autorun
Set the value to a null string: "" (i.e. leave it blank)
Do the same for:
HKEY_LOCAL_MACHINE/Software/Microsoft/Command Processor/Autorun
08/28/2006 (5:51 pm)
I just wanted to let you guys know I did manage to get it compiled with VS2005 Express. I had initially thought this was an issue with environment settings, and I did find some mis-named folders like mentioned above. But the "error PRJ0002" was being caused by having custom properties in cmd.exe (I had set this for some command line apps I wrote using GCC). As it turns out, VS2005 needs cmd.exe to not have any parameters for the autorun. If you are getting similar errors as I was heres the fix:Go to the registry and edit this value:
HKEY_CURRENT_USER/Software/Microsoft/Command Processor/Autorun
Set the value to a null string: "" (i.e. leave it blank)
Do the same for:
HKEY_LOCAL_MACHINE/Software/Microsoft/Command Processor/Autorun
Torque Owner Rob Klein