1>------ 已启动生成: 项目: OSG_3_1_osgViewer应用基础, 配置: Debug x64 ------
1>cl : 命令行 warning D9002: 忽略未知选项“/SAFESEH:NO”
1> osgViewer应用基础1.cpp
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1158): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1158): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1158): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1159): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1159): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1159): error C2146: 语法错误: 缺少“;”(在标识符“GLboolean”的前面)
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1160): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1160): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1160): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1161): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1161): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1161): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1162): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1162): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1162): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1163): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1163): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1163): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1164): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1164): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1164): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1165): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1165): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1165): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1166): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1166): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1166): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1167): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1167): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1167): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1168): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1168): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1168): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1169): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1169): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1169): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1170): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1170): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1170): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1171): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1171): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1171): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1172): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1172): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1172): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1173): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1173): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1173): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1174): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1174): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1174): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1175): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1175): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1175): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1176): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1176): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1176): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1177): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1177): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1177): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1178): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1178): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1178): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1179): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1179): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1179): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1180): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1180): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1180): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1181): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1181): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1181): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1182): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1182): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1182): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1183): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1183): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1183): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1184): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1184): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1184): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1185): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1185): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1185): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1186): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1186): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1186): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1187): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1187): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1187): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1188): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1188): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1188): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1189): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1189): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1189): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1190): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1190): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1190): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1191): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1191): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1191): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1192): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1192): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1192): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1193): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1193): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1193): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1194): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1194): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1194): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1195): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1195): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1195): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1196): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1196): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1196): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1197): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1197): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1197): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1198): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1198): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1198): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1199): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1199): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1199): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1200): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1200): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1200): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1201): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1201): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1201): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1202): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1202): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1202): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1203): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1203): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1203): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1204): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1204): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1204): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1205): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1205): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1205): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1206): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1206): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1206): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1207): error C2144: 语法错误:“void”的前面应有“;”
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1207): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1207): error C2086: “int WINGDIAPI”: 重定义
1> e:opensourcegraphopenscenegraph_installincludeglgl.h(1157): note: 参见“WINGDIAPI”的声明
1>e:opensourcegraphopenscenegraph_installincludeglgl.h(1207): fatal error C1003: 错误计数超过 100;正在停止编译
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
需要添加
#ifdef _WIN32
#include <windows.h>
#endif
在这之前
#include <osgViewer/Viewer>
#include <osgDB/ReadFile>