Error Message...please help
I'm getting this error message when trying to build my program. I've looked in this forum for similar problems....tried those, but am still getting the same message. Would someone please shed a little light on what the problem might be and how to fix it?
Here's the error message:
Rebuild All started: Project: blackjackbet, Configuration: Debug Win32
Deleting intermediate and output files for project 'blackjackbet', configuration 'Debug|Win32'
Compiling...
Project : error PRJ0003 : Error spawning 'cl.exe'.
Project : warning PRJ0018 : The following environment variables were not found:
$(LIB)
blackjackbet - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Thanks in advance
[781 byte] By [
nokomis] at [2007-12-17]
The error implies that the IDE is not finding cl.exe on your machine. Could you make sure that cl.exe exists at the Vc\bin directory?
If it is there then I believe you can inform the IDE about it. Just start the IDE (without opening a specific project) and do the following:
1) Go to Tools --> Options
2) Click on the the projects folder at the left menu.
3) Under "projects", click on "VC++ Directories"
4) Make sure that the top right window labeled "Show directories for" contains "Executable files"
5) click on the new New Line icon (icon similar to new folder icon on the top right)
6) add the location where your cl.exe exists.
Hope this helps!
Thanks,
Ayman Shoukry
VC++ Team