我不知道发生了什么事情。我正在删除我添加到VC文件夹和附加依赖项(我添加的OpenGL库)中的一些库,然后当我尝试编译我的程序时,我收到了100个错误。问题在于我的当前项目没有识别一些标准头文件。以下是我得到的内容:
#include <Windows.h> <-----Error from title
#include <stdio.h> <-----Error from title
#include <stdlib.h> <-----Error from title
#include "stdafx.h" <-----OK
#include <CommCtrl.h> <-----Error from title
我创建了一个新项目来比较它的属性,但没有注意到任何缺失。有人知道为什么该项目没有使用这些标题吗?
$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);
。OK。 - raj raj