osgearth2.8编译问题
来源:互联网 发布:ubuntu snmpwalk 编辑:程序博客网 时间:2024/05/19 01:08
最近正在自己编译osgearth
在编译过程中,vs2010输出如下错误:
错误 160 error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 227 1 osgEarthSymbology
错误 161 error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 337 1 osgEarthSymbology
错误 163 error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 227 1 osgEarthSymbology
错误 164 error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 337 1 osgEarthSymbology
错误 159 error C2248: “geos::geom::GeometryFactory::GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 219 1 osgEarthSymbology
错误 162 error C2248: “geos::geom::GeometryFactory::GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 219 1 osgEarthSymbology
输出为:
..\..\..\..\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp(219): error C2248: “geos::geom::GeometryFactory::GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明)
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(453) : 参见“geos::geom::GeometryFactory::GeometryFactory”的声明
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(67) : 参见“geos::geom::GeometryFactory”的声明
..\..\..\..\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp(227): error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明)
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(490) : 编译器已在此处生成“geos::geom::GeometryFactory::~GeometryFactory”
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(67) : 参见“geos::geom::GeometryFactory”的声明
..\..\..\..\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp(337): error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明)
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(490) : 编译器已在此处生成“geos::geom::GeometryFactory::~GeometryFactory”
在编译过程中,vs2010输出如下错误:
错误 160 error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 227 1 osgEarthSymbology
错误 161 error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 337 1 osgEarthSymbology
错误 163 error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 227 1 osgEarthSymbology
错误 164 error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 337 1 osgEarthSymbology
错误 159 error C2248: “geos::geom::GeometryFactory::GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 219 1 osgEarthSymbology
错误 162 error C2248: “geos::geom::GeometryFactory::GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明) E:\OSGRes\Download\OSGEarth\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp 219 1 osgEarthSymbology
输出为:
..\..\..\..\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp(219): error C2248: “geos::geom::GeometryFactory::GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明)
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(453) : 参见“geos::geom::GeometryFactory::GeometryFactory”的声明
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(67) : 参见“geos::geom::GeometryFactory”的声明
..\..\..\..\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp(227): error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明)
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(490) : 编译器已在此处生成“geos::geom::GeometryFactory::~GeometryFactory”
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(67) : 参见“geos::geom::GeometryFactory”的声明
..\..\..\..\gwaldron-osgearth-2.8\src\osgEarthSymbology\GEOS.cpp(337): error C2248: “geos::geom::GeometryFactory::~GeometryFactory”: 无法访问 protected 成员(在“geos::geom::GeometryFactory”类中声明)
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(490) : 编译器已在此处生成“geos::geom::GeometryFactory::~GeometryFactory”
E:\OSG\runtime\geos3.6.1\include\geos/geom/GeometryFactory.h(67) : 参见“geos::geom::GeometryFactory”的声明
原来是geos库的版本问题,换一个老版本的库就没这个问题了
0 0
- osgearth2.8编译问题
- osgearth2.8编译实现(VS2012 win10)
- QT5.4.1+VS2012+OSG3.2.3+osgearth2.7编译问题总结
- vs2013 Qt5.7编译osgearth2.7遇到的问题及解决办法
- osgEarth2.7+vs2010+win7编译方法
- osgEarth2.7+vs2010+win7编译方法
- #OSG+VS#05 OSGEARTH2.6编译总结
- osgearth2.5 Container
- 编译问题
- 编译问题
- 编译问题
- 编译问题
- 编译问题
- 编译问题
- 编译问题
- 编译问题
- Osg3.4.0 OsgEarth2.8.0预编译库(VS2015 64bit)
- 奇怪的编译问题
- Shell 练习题 41-50,内附答案
- Docker的Swarm模式
- 回溯法解决排列组合问题
- mongoDB-基础教程笔记(一)
- LinuxCon+ContainerCon+CloudOpen首次来华,国际开源盛会不容错过!
- osgearth2.8编译问题
- 用tree命令显示某个目录及其下属子目录
- IO流(1)—之序列化与反序列化
- React 各种组件关系通信
- JDK1.7和1.8新特性梳理备忘
- http状态码
- 一天记录
- 集成学习==>Bootstrap Bagging AdaBoost简介
- Android 控件属性之TextView