Visual C++中error spawning cl.exe解决方法

点击“Tools”,选择“选项”,选择“选项”中的“目录”

目录的目录下有四个选项

需要对它们设置正确的路径

我是按照默认路径安装的

可执行文件:

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\MFC\Lib

C:\Program Files\Microsoft Visual Studio\VC98\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

路径的设置需要根据自己的路径来设置,不过大致是一样的

posted @ 2017-10-09 23:30  Sch01aR#  阅读(869)  评论(0编辑  收藏  举报