Error Spawning cl.exe Solution! Very useful!!

Source: Internet
Author: User

Recently use VC6.0 often appear this problem, do not know how to solve, in Baidu know on got a quite detailed answer, finally solved, feel very useful, so turned over.

=================================

Many people may have clicked "Compile" or "Build" after installing VC 6.0 to appear
"Compiling ..., error spawning cl.exe" false hint to depressed too. Many people's
The choice is reload, in fact this problem is caused by the problem of path setting in many cases,
"CL.exe" is a VC using a real compiler (compiler), whose path is under "VC root directory/vc98/bin",
You can find this application in the appropriate path.

Therefore, the problem can be resolved as follows: Open the VC interface click on the VC "Tools", "option (SELECT)"
Directories (directory) reset excutable Fils, Include Files,
The path to the Library files, Source files. A lot of situations may be different for a drive letter
(for example, your VC is installed in C, but these paths are all in D), it's OK to mend it.


If you are installing vc6.0 according to the initial path, 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:/Program 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/vc98/crt/src

If you're on a different plate, just follow the path (I'm on the D drive).
The key is to have the same things behind Microsoft Visual studio/.
I suffer from the damage, re-installed several times, the above Chinese part for the master reference,
The following path for my thoughtful income, finally resolved. Share with June.

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.