VC ++ appears compiling... Error spawning cl.exe

Source: Internet
Author: User
When the compiling... error spawning cl.exe error occurs in VC ++, there are several solutions:
Method 1: Do not use a graphical interface when starting the VC. Run msdev/useenv at the command prompt (note/there is a space in front ). it will force the system environment variable to be set to the correct value. in addition, you only need to run the VC once, and then start it again by double-clicking the icon. Method 2: Use your VC installation disk for restoration. Method 3: In VC, click "Tools"-> "option"-> "directories". If the path is incorrect, reset "excutable fils, include files, library files, source files. If "mspdb60.dll cannot be found" is displayed, search for the mspdb60.dll file on the computer that runs VC ++ normally and copy it to Microsoft Visual Studio \ common \ msdev98 \ bin on your machine. Other files are missing, such as O (operator _ operator) O. Method 4: After installing VC 6.0, many people may encounter the "compiling..., error spawning cl.exe" error after clicking "compile" or "build. Many people choose to reinstall the file. In fact, this problem is often caused by path setting problems. cl.exe "is the true compiler used by VC (compile Program ). The path is under "VC root directory \ vc98 \ bin". You can find this application in the corresponding path. Therefore, you can solve the problem as follows: Open the VC interface and click VC "tools"-> "option"-> "directories (directory) "reset the path of" excutable fils, include files, library files, source files. In many cases, it may be different from a drive letter (for example, if your VC is installed in C, but all these paths are in d). It will be okay if you change it. If you follow the initial path to install vc6.0, the path should be: executatble files: C: \ Program Files \ Microsoft Visual Studio \ common \ msdev98 \ bin c: \ Program Files \ Microsoft Visual Studio \ vc98 \ bin c: \ Program Files \ Microsoft Visual Studio \ common \ tools C: \ Program Files \ Microsoft Visual Studio \ common \ tools \ WINNT include files: C: \ Program Files \ Microsoft Visual Studio \ vc98 \ include C: \ Program Files \ Microsoft Visual Studio \ vc98 \ MFC \ include c: \ Pr Ogram files \ Microsoft Visual Studio \ vc98 \ ATL \ include library files: C: \ Program Files \ Microsoft Visual Studio \ vc98 \ Lib C: \ Program Files \ Microsoft Visual Studio \ vc98 \ MFC \ Lib source files: C: \ Program Files \ Microsoft Visual Studio \ vc98 \ MFC \ src c: \ Program Files \ Microsoft Visual Studio \ vc98 \ MFC \ include c: \ Program Files \ Microsoft Visual Studio \ vc98 \ ATL \ include c: \ Program Files \ Microsoft Visual Studio \ vc9 8 \ CRT \ SRC if you install it on another disk, just change it according to its path. The key is that Microsoft Visual Studio \ should have the same things

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.