|
本人菜鸟,刚接触osg。我按照《OSG EARTH + 2008 安装》进行编译osgearth,但是有两个工程编译不过。而且出现很奇怪的错误,希望大牛指点啊
在此先谢过各位。
以下为出错信息
------ 已启动生成: 项目: Plugin osgearth_engine_seamless, 配置: Debug Win32 ------
正在编译...
SeamlessPlugin.cpp
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(102) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(107) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(112) : error C3861: “getDatabaseOptions”: 找不到标识符
SeamlessEngineNode.cpp
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(102) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(107) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(112) : error C3861: “getDatabaseOptions”: 找不到标识符
GeoPatch.cpp
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(102) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(107) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(112) : error C3861: “getDatabaseOptions”: 找不到标识符
Geographic.cpp
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(102) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(107) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(112) : error C3861: “getDatabaseOptions”: 找不到标识符
..\..\..\..\src\osgEarthDrivers\engine_seamless\Geographic.cpp(719) : warning C4018: “>=”: 有符号/无符号不匹配
..\..\..\..\src\osgEarthDrivers\engine_seamless\Geographic.cpp(720) : warning C4018: “<=”: 有符号/无符号不匹配
..\..\..\..\src\osgEarthDrivers\engine_seamless\Geographic.cpp(720) : warning C4018: “>=”: 有符号/无符号不匹配
..\..\..\..\src\osgEarthDrivers\engine_seamless\Geographic.cpp(720) : warning C4018: “<=”: 有符号/无符号不匹配
Projected.cpp
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(102) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(107) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(112) : error C3861: “getDatabaseOptions”: 找不到标识符
PatchSet.cpp
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(102) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(107) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(112) : error C3861: “getDatabaseOptions”: 找不到标识符
..\..\..\..\src\osgEarthDrivers\engine_seamless\PatchSet.cpp(339) : error C3861: “componentMultiply”: 找不到标识符
PatchGroup.cpp
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(102) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(107) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(112) : error C3861: “getDatabaseOptions”: 找不到标识符
..\..\..\..\src\osgEarthDrivers\engine_seamless\PatchGroup.cpp(158) : error C2065: “_disableExternalChildrenPaging”: 未声明的标识符
..\..\..\..\src\osgEarthDrivers\engine_seamless\PatchGroup.cpp(173) : error C2065: “_databaseOptions”: 未声明的标识符
..\..\..\..\src\osgEarthDrivers\engine_seamless\PatchGroup.cpp(173) : error C2228: “.get”的左边必须有类/结构/联合
类型是“'unknown-type'”
..\..\..\..\src\osgEarthDrivers\engine_seamless\PatchGroup.cpp(173) : error C2660: “osg::NodeVisitor:atabaseRequestHandler::requestNodeFile”: 函数不接受 6 个参数
..\..\..\..\src\osgEarthDrivers\engine_seamless\PatchGroup.cpp(178) : error C2065: “_databaseOptions”: 未声明的标识符
..\..\..\..\src\osgEarthDrivers\engine_seamless\PatchGroup.cpp(178) : error C2228: “.get”的左边必须有类/结构/联合
类型是“'unknown-type'”
..\..\..\..\src\osgEarthDrivers\engine_seamless\PatchGroup.cpp(178) : error C2660: “osg::NodeVisitor::DatabaseRequestHandler::requestNodeFile”: 函数不接受 6 个参数
Patch.cpp
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(102) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(107) : error C3861: “getDatabaseOptions”: 找不到标识符
e:\osg\osgearth\src\osgearthdrivers\engine_seamless\PatchGroup(112) : error C3861: “getDatabaseOptions”: 找不到标识符
正在生成代码...
生成日志保存在“file://e:\OSG\osgearth\build\src\osgEarthDrivers\engine_seamless\osgdb_osgearth_engine_seamless.dir\Debug\BuildLog.htm”
Plugin osgearth_engine_seamless - 32 个错误,4 个警告
------ 已启动生成: 项目: Sample osgearth_seamless, 配置: Debug Win32 ------
正在编译...
osgearth_seamless.cpp
..\..\..\..\src\applications\osgearth_seamless\osgearth_seamless.cpp(120) : error C2039: “getDatabaseOptions”: 不是“osg:agedLOD”的成员
E:\OSG\OpenSceneGraph\include\osg/PagedLOD(23) : 参见“osg::PagedLOD”的声明
生成日志保存在“file://e:\OSG\osgearth\build\src\applications\osgearth_seamless\application_osgearth_seamless.dir\Debug\BuildLog.htm”
Sample osgearth_seamless - 1 个错误,0 个警告
------ 已跳过生成: 项目: INSTALL, 配置: Debug Win32 ------
没有为此解决方案配置选中要生成的项目
------ 已跳过生成: 项目: uninstall, 配置: Debug Win32 ------
没有为此解决方案配置选中要生成的项目
========== 生成: 成功 0 个,失败 2 个,最新 39 个,跳过 2 个 ========== |
|