Jump to content
  • Advertisement
Sign in to follow this  
nightangel

How to solve "Error spawning cl.exe" in C++

This topic is 4582 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can somebody help why i compile every program and it show the error spawing cl.exe? is that the cl.exe got error? i uninstall and reinstall the problem still remain. --------------------Configuration: Nehe World 3 - Win32 Debug------------------- Compiling... Error spawning cl.exe Nehe World 3.exe - 1 error(s), 0 warning(s) Thanks for helping :)

Share this post


Link to post
Share on other sites
Advertisement
A) Reboot (for sure)
B) Check if the cl.exe is in the "bin" folder of the Visual Studio installation
C) Check in the general settings if the bin folder is included in the "executable folder" list.

Share this post


Link to post
Share on other sites
Quote:
Original post by Fruny
cl.exe is the Visual C++ compiler.


Funny how you can not know the simplest of things :P

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I get that error - when my system resources are low. I also have had it happen with link.exe. A reboot solves my problem, but is annoying because i loose all my undos.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Usually it helps to use the clean up (i.e. remove all builds) functionality of VS. and shut down VS and restart it.

Share this post


Link to post
Share on other sites
Quote:
Original post by Endurion
A) Reboot (for sure)
B) Check if the cl.exe is in the "bin" folder of the Visual Studio installation
C) Check in the general settings if the bin folder is included in the "executable folder" list.


I got some questions here.
- The cl.exe i found in the >Microsoft Visual Studio\VC98\Bin, is that correct?
- I can't found the "executable folder",can have a point of direction?

Thanks!

Share this post


Link to post
Share on other sites
Quote:
Original post by nightangel
- I can't found the "executable folder",can have a point of direction?

Try: Tools -> Options -> Projects and Solutions -> VC++ Directories -> "Show Directories for: Executable Files".
Check if you have "$(VCInstallDir)bin" in the list.

P.S:
This is for VS 2005, but it should give you an idea of where to look...

[Edited by - raz0r on May 31, 2006 9:31:06 AM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!