Archived

This topic is now archived and is closed to further replies.

Sarlok

Error spawning cl.exe

Recommended Posts

Sarlok    122
Most interesting. My compiler''s (Visual C++ 6.0) just started doing thins all of a sudden, and refuses to compile anything. " -------------------Configuration: integers - Win32 Debug-------------------- Compiling... Error spawning cl.exe integers.exe - 1 error(s), 0 warning(s) " Even the almight Hello World! Doesn''t work. Any thoughts?

Share this post


Link to post
Share on other sites
Dean Harding    546
Can you run cl.exe from the command-line?

Have a look in the .plg file in your project directory, it should give you the exact command-line it was trying to use, try running that and looking for error messages.


codeka.com - Just click it.

Share this post


Link to post
Share on other sites
Big B    337
I got this too recently. I thought my installation was messed so I unistalled and reinstalled, but the error persisted. After a little registry hacking and rebooting, I fixed it. Immediately after I found an easier solution:

Go to your Tools->Options->Directories and changes the executables directories to include where cl.exe is.




University is a fountain of knowledge, and students go there to drink.

Share this post


Link to post
Share on other sites
Sarlok    122
Ah. That would explain it. Seems cl.exe was "magically" deleted at some point and time. ... along with the rest of the VC98 folder. :|

Ta very much.

"When you kill one, it is a tragedy. When you kill ten million, it is a statistic."
- Sarlok

Share this post


Link to post
Share on other sites