How to solve the error spawning cl.exe in VC.
Many people may have clicked "compile" or "build" after installing VC 6.0.
"Compiling..., errorSpawningCl.exe "error prompt is depressing. Many people
Select to reinstall. In fact, this problem is often caused by path settings,
“Cl.exe "is the true Compiler (Program compilation) used by VC. Its path is under" VC root directory/vc98/bin,
You can find the application in the corresponding path.
Therefore, you can solve the problem as follows: Open the VC interface and click VC "tools"-> "option )"
-> "Directories (directory)" to reset "excutable fils, include files,
Library files and source files. In many cases, a drive letter may be different.
(For example, if your VC is installed in C, but all these paths are in D), it will be OK.
If you install vc6.0 in 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 install it on another disk, you just need to change it based on the path (I just installed it on disk D ).
The key is that Microsoft Visual Studio/should follow the same things.