zzuzhao 发表于 2014-3-20 14:01:05

osgearth编译C2440错误

为什么编译时提示:
错误 1 error C2440: “初始化”: 无法从“osgGA::Event *”转换为“osgGA::
GUIEventAdapter *” D:\OSG\osgearth2.5\src\osgEarth\Draggers.cpp 180 1

是版本不匹配么?
用的OSG 3.3.1,osgearth2.5,编译环境vs2008.

yanhe524 发表于 2014-3-20 18:47:17

没试过,只能告诉你我是用osg3.2 和osgearth2.5没问题

zzuzhao 发表于 2014-3-24 15:46:01

yanhe524 发表于 2014-3-20 18:47
没试过,只能告诉你我是用osg3.2 和osgearth2.5没问题

谢谢。我用3.3.1编译还有其他问题,刚才换了3.1.10可以了
手头没有3.2.0的。改天再编译下3.2.0的
页: [1]
查看完整版本: osgearth编译C2440错误