不能打开包含文件:'ctype。没有这样的文件或目录。

时间:2023-02-22 00:26:40

I installed c++ package on VS 2015 , if I tried to build the project ,the following problem appears :

我在VS 2015上安装c++包,如果我尝试构建项目,会出现以下问题:

C1083 Cannot open include file: 'ctype.h': No such file or directory Win32Project5 c:\program files (x86)\windows kits\8.1\include\um\winnt.h 31

C1083不能打开包含文件:'ctype。没有这样的文件或目录win32project5c:\程序文件(x86)\windows工具包\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ?h 31

Any possible solution ....

任何可能的解决方案....

1 个解决方案

#1


14  

Repair / Reinstall visual studio. Make sure that the Windows SDK option (Probably 8.1 in your case) is ticked, As you can see in this picture: 不能打开包含文件:'ctype。没有这样的文件或目录。

修复/重新安装visual studio。确保Windows SDK选项(在你的情况下可能是8.1)会被勾选,就像你在图片中看到的那样:

#1


14  

Repair / Reinstall visual studio. Make sure that the Windows SDK option (Probably 8.1 in your case) is ticked, As you can see in this picture: 不能打开包含文件:'ctype。没有这样的文件或目录。

修复/重新安装visual studio。确保Windows SDK选项(在你的情况下可能是8.1)会被勾选,就像你在图片中看到的那样: