0
我一直在整天处理这个问题。我从控制面板卸载视觉工作室后发生问题。我从webinstaller再次安装了visual studio professional。然后,我开始收到这些错误消息:visual studio 2010不能包含stdlib.h
Cannot open include file: 'stdlib.h'
Cannot open include file: 'excpt.h'
Cannot open include file: 'afxwin.h'
Cannot open include file: 'math.h'
我试图卸载并安装好几次,但它没有帮助,我试图安装Visual Studio溢价,没有帮助也,不知何故这些头文件是从目录中缺少他们应该在哪里。我也搜索了我的电脑这些文件不存在...我试图修复Visual Studio 2010 SP1 ...它也没有帮助。
EDIT1: 我试图创建一个Win32控制台应用程序,和我离开的一切作为默认:
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
而且我得到这个编译器错误:
fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
尝试包括 intead。 –
@AnonMail没有工作:( – Samer
实际上,它应该是,但也应该找到stdlib.h(一个C标头)。如果没有,你的安装可能是错误的。 –