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.