cl.exe not finding any standard include file

大憨熊 提交于 2019-12-03 09:42:04

The Visual C++ compiler depends on a whole bunch of environment variables. The easiest way to get these set right is using the "Visual Studio Command Prompt" item created on the Start menu during the install, or running vcvars32.bat from the program directory.

Otherwise, you'll have to set INCLUDE= and LIB= variables to the proper directories before getting a successful compile.

Did you really follow those instructions and use the Visual Studio command prompt, the one that sets up the directories the compiler should look in? If you did, you need to set up the environment variables specified in that article to point where they belong, or recreate the shell .bat file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!