Error spawning 'cmd.exe'.

paulm12

20-10-2006 14:27:06

When compiling I'm getting this error:
------ Build started: Project: nxTutorial102 - Sphere and Torque , Configuration: Release Win32 ------
Embedding manifest...
Project : error PRJ0003 : Error spawning 'cmd.exe'.
Build log was saved at "file://c:\dev\NxOgre\scripts\VC8\NxTutorials\Release\BuildLog.htm"
nxTutorial102 - Sphere and Torque - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I'm currently having problems with my compiler running programs, and have to run them from the directory, but I don't think that could be related.

Any ideas???

Cheers...

ColeZero

20-10-2006 14:29:12

What version of VisualStudio are you using?
A Beta? I've heard of this problem from people, who are using the beta 2 of visual c++..

EDIT: Maybe this will help:

Solution:
http://www.interact-sw.co.uk/iangblog/2005/09/12/cmdspawnerror

or this

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3147&SiteID=1

jacmoe

20-10-2006 14:51:57

The problem is most likely that your PATH environment variable is overloaded.
Just add the location of cmd.exe (system32) to the Visual Studio options vc projects bin directories, and all should be fine again. :wink:

paulm12

20-10-2006 14:53:34

Thanks for your reply, these solutions don't work/apply for me... i'm just going to do a clean install of everything... 'cause i've got a few problems at the minute... cheers!