Game Development Community

Visual C++ 2005 Express + TGE compile error.

by Marc DAmico · in Technical Issues · 05/21/2006 (9:00 am) · 11 replies

Hi guys, can someone give me a hand with this...

ive just installed the torque sdk (a fresh copy for this purpose) and i just downloaded VC 2005 Express. i went through all the steps to set up Torque to work with it but when i compile i get some weird results. first off it tells me that the

-"opengl2d3d - Debug Win32"
-"glu2d3d - Debug Win32"
-"Torque Demo - Debug Win32"

projects are out of date and if i want to compile anyway, so i click yes and i get the following error:

------ Build started: Project: opengl2d3d, Configuration: Debug Win32 ------
Embedding manifest...
Project : error PRJ0003 : Error spawning 'cmd.exe'.
Build log was saved at "file://c:\Torque\SDK\lib\out.VC8.DEBUG\opengl2d3d\BuildLog.htm"
opengl2d3d - 1 error(s), 0 warning(s)
------ Build started: Project: glu2d3d, Configuration: Debug Win32 ------
Embedding manifest...
Project : error PRJ0003 : Error spawning 'cmd.exe'.
Build log was saved at "file://c:\Torque\SDK\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
Project : error PRJ0003 : Error spawning 'cmd.exe'.
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://c:\Torque\SDK\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 ==========

can someone help me with this problem?

btw... im running on WinXP Pro if that helps at all.

thanx guys.

P.S. by the way... i did go through the forum for a while to find different solutions for this. i was unsuccessful though.

#1
05/21/2006 (9:45 am)
Have you been following this?
#2
05/21/2006 (8:49 pm)
Yeah, i followed that step by step twice. i also tried a few other directions posted by members that were more or less the same as that with slight changes.
#3
05/21/2006 (9:11 pm)
Try this:

Go To:

Project -> Torque Demo Properties -> Configuration Properties-> Manifest Tool ->Input and Output -> Embed Manifest = No


This might work.

Only other option would be to reinstall it....
#4
05/22/2006 (7:45 am)
Thanx alot guys! i tried this out (got it from a diff post that i left on the same subject. it seems to have worked.)

Hmmm.. this is interesting... after reading these posts

www.interact-sw.co.uk/iangblog/2005/09/12/cmdspawnerror
forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3147&SiteID=1
forums.microsoft.com/MSDN/ShowPost.aspx?PostID=378842&SiteID=1

i did the following... i copied my cmd.exe from system32 to the "C:\Program Files\Microsoft Visual Studio 8\VC\bin" folder and now it seems to be compiling.

apparently there is path reading issue with VC... so if u change %SystemRoot%\system32 to C:\WINDOWS\system32 you should be ok. or just copy the file over!
#5
07/27/2006 (9:47 pm)
So i have just installed a fresh copy of TGE 1.4 & Visual C++ 2005 Express.

i followed the steps outlined by the Guide to Compiling TGE 1.4 with Visual Studio 2005 Express. after running my first compile i recieved the following output:

Torque Demo - 24 error(s), 0 warning(s)
========== Build: 0 succeeded, 3 failed, 4 up-to-date, 0 skipped ==========

i browsed the forums and found this post, read through it, then followed the advice it provided.

unfortunately, i am still recieving the same erros with the compile. going through the output, i'm finding many reports like this:

"c:\torque\sdk\engine\platformwin32\platformwin32.h(21) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory"

anybody have any ideas?

thanks in advance!
#6
07/27/2006 (10:24 pm)
Well i fixed "the glitch"
just ended up un-installing torque, downloaded it again, and then re-installing it. here's what i got this time:

Torque Demo - 0 error(s), 8 warning(s)
========== Build: 7 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

so there it was, a little hick-up at the start of my indie game dev venture. i'm sure it will all be down hill from here ;) YEAH RIGHT....anyways, i'm off and running

good luck and happy gaming,

T.F.

Time Miner Studios
www.timeminer.com
#7
09/14/2006 (4:20 pm)
@Tadd

Be sure to follow all the instrucytions on the Microsoft site also about changes needed to be made to the express install. Or you will have problems in the future.

http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/

has a list of changes you need to make.
#8
02/21/2007 (4:17 pm)
Just in case anyone runs into similar problems and ends up searching here, I had a similar error at first, except it couldn't find cl.exe

Turns out the Tools-Options->Projects and Solutions->VC++ Directories paths can be majorly screwed up by previous versions of VC++.

In my case, $(VSInstallDir) wasn't pointing anywhere ... so I added the paths to "C:\Program Files\Microsoft Visual Studio 8\VC\bin", etc by hand and it works!
#9
04/08/2007 (2:22 pm)
I am having issues also.

fatal error LNK1104: cannot open file 'ljpeg.lib
Torque Game Engine Advanced - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I am having this for several libs: ljpeg.lib lpng.lib lungif.lib zlib.lib libqslim.lib

Thanks
#10
05/01/2007 (4:59 pm)
*bump* Im having this problem also. Compiling using VS.net2003 with XP Pro using TGE 1.5.1
#11
05/01/2007 (5:21 pm)
Solved the problem. Make sure to rebuild each .lib file from the solution explorer before building your project. Or rebuild the one that its failing on! This worked for me in VS.net2003.
Jon.