Hi, I've just installed the new visual c++ beta 2, and I get this weird error when compiling a project.
------ Build started: Project: FindWeights, Configuration: Debug Win32 ------
Embedding manifest...
Project : error PRJ0003 : Error spawning 'cmd.exe'.
Build log was saved at "file://c:\My\Active\FindWeights\Debug\BuildLog.htm"
FindWeights - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Any idea what I can do to fix this
Thanks

Beta 2 error, Project : error PRJ0003 : Error spawning 'cmd.exe'.
yithoong
rlasker3
sheikh78
it is possible that these problems have arisen due to the VCComponents.dat file not being removed between installs of different versions of VS 8 (for instance, beta 1 and beta 2). to the best of my knowledge the VS installer/uninstaller doesn't remove this file.
josh
mattcushing
vj78
Can you set the opton (from Tools.Options.VC++Directoris) to dump the environment block in the build log and attach the build log to this thread
Thanks,
Tarek
dknapp
I have installed the full Visual Studio 2005 Professional
I never installed any beta
I previously had Visual Studio 2002 (vc7)
which was uninstalled before installing VS 2005
I have the file
C:\Documents and Settings\braunal01\Local Settings\Application Data\Microsoft\VisualStudio\7.0\VCComponents.dat
I do not have file
C:\Documents and Settings\braunal01\Local Settings\Application Data\Microsoft\VisualStudio\8.0\VCComponents.dat
The problem still occurs when I sent the 7.0 folder to the recycle bin
renemoris
Hi, I'm also experiencing this error when compiling. The above solution with the embed manifest worked for one of the projects im compiling, but not for another one. They are both experiencing the exact same error, so im not sure why it would work for one and not the other.
The project that is still experiencing an error is very large, and has lots of subfolders/files, but ive checked all of them to make sure that they all have embed manifest off.
This is the only error im getting when compiling:
------ Build started: Project: Torque Shader Engine, Configuration: Release Win32 ------
Performing Custom Build Step
Project : error PRJ0003 : Error spawning 'cmd.exe'.
Build log was saved at "file://c:\tse\engine\out.VC7.RELEASE\BuildLog.htm"
Torque Shader Engine - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========
Im running win XP SP 2. I never had the first beta of the express compiler installed, so I didnt have to uninstall anything. I do have a lot of directories linked with this project, does that make a difference (I modified the config file to include the directories)
Thanks.
JS
Thelios
1>Embedding manifest...
1>mt.exe:general error c101008e:Failed to create the manifest from the identity string: "My App, type=win32, version=1.0.0.0, processorArchitecture=x86". The operation failed.
1>Project : error PRJ0002 : Error result 31 returned from 'D:\Gal\C++\Visual C++ 2005\Installed\VC\bin\mt.exe'.
1>Build log was saved at "file://d:\Gal\C++\Visual C++ 2005\Installed\My Projects\Gal's Botter\Gal's Botter\Debug\BuildLog.htm"
1>Gal's Botter - 1 error(s), 0 warning(s)
P.S - I didn't install any other beta and the only other C++ I have is Microsoft Visual C++ 6. Is it possible that it clashed
Krishna Samaga
spells
I got same error with cmd.exe when i said manifest=no and debugged then no error
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
The log file is:
but when i compiled (F5) i am getting
'Ex1_01.exe': Loaded 'F:\testFiles\Test1\Ex1_01\debug\Ex1_01.exe', Symbols loaded.
'Ex1_01.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'Ex1_01.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'Ex1_01.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcp80d.dll', No symbols loaded.
'Ex1_01.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcr80d.dll', No symbols loaded.
'Ex1_01.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
The program '[2688] Ex1_01.exe: Native' has exited with code 0 (0x0).
The problem is i can see command prompt it is coming and closing by itself in a fraction of moment
EastNayl
Project -> "Your project" Properties -> Configuration Properties-> Manifest Tool ->Input and Output -> Embed Manifest = No
The manifest file will be creating.
P.
------------------
http://cpp.g5.pl - forum dla polskich programistow
Kevinmi
Do you happen to have a really large environment (> 15KB or so)
Ronald Laeremans
Visual C++ team
Pavithra
To whom this may concern,
I am getting the same error but with a different file;
------ Build started: Project: Netmsg, Configuration: Debug Win32 ------
Creating Type Library...
Project : error PRJ0003 : Error spawning 'midl.exe'.
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50215
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\Debug\ColorOptions.sbr': No such file or directory
Build log was saved at "file://e:\Projects\Debug\BuildLog.htm"
Netmsg - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
What is going wrong
JON_STUDENT
$(VCInstallDir)bin
$(VSInstallDir)Common7\Tools\bin\prerelease
$(VSInstallDir)Common7\Tools\bin
$(VSInstallDir)Common7\Tools
$(VSInstallDir)Common7\IDE
The Options dialog is off Tools menu and it's in Projects->VC++ Directories page.
Hope this would be any helpful.