|
按照本版提供的教程
准备了以下内容:
curl-7.24.0.tar.gz
expat-win32bin-2.0.1.rar
gdal190.zip
geos-3.2.3.tar.bz2
libzip-windows.zip
OpenSceneGraph-3.0.1.zip
gwaldron-osgearth-osgearth-2.1.1
使用vs2005编译,osg编译没有问题,但是在编译osgearth时出现下列问题,搞了一天不知道什么问题
1>D:\OSG0308\osgearth\src\osgEarth/Config(431) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'overloaded-function' (or there is no acceptable conversion)
1> D:\OSG0308\osgearth\src\osgEarth/StringUtils(177): could be 'osgEarth::Stringify &osgEarth::Stringify:perator <<(const osgEarth::Stringify &)'
1> while trying to match the argument list '(osgEarth::Stringify, overloaded-function)'
1>D:\OSG0308\osgearth\src\osgEarth/Config(436) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'overloaded-function' (or there is no acceptable conversion)
1> D:\OSG0308\osgearth\src\osgEarth/StringUtils(177): could be 'osgEarth::Stringify &osgEarth::Stringify::operator <<(const osgEarth::Stringify &)'
1> while trying to match the argument list '(osgEarth::Stringify, overloaded-function)'
1>D:\OSG0308\osgearth\src\osgEarth/Config(441) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'overloaded-function' (or there is no acceptable conversion)
1> D:\OSG0308\osgearth\src\osgEarth/StringUtils(177): could be 'osgEarth::Stringify &osgEarth::Stringify::operator <<(const osgEarth::Stringify &)'
1> while trying to match the argument list '(osgEarth::Stringify, overloaded-function)'
1>D:\OSG0308\osgearth\src\osgEarth/Config(441) : error C2660: 'osgEarth::Config::update' : function does not take 2 arguments
1>D:\OSG0308\osgearth\src\osgEarth/Config(446) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'overloaded-function' (or there is no acceptable conversion)
1> D:\OSG0308\osgearth\src\osgEarth/StringUtils(177): could be 'osgEarth::Stringify &osgEarth::Stringify::operator <<(const osgEarth::Stringify &)'
1> while trying to match the argument list '(osgEarth::Stringify, overloaded-function)'
1>D:\OSG0308\osgearth\src\osgEarth/Config(446) : error C2660: 'osgEarth::Config::update' : function does not take 2 arguments
1>Viewpoint.cpp
1>D:\OSG0308\osgearth\src\osgEarth/Config(431) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'overloaded-function' (or there is no acceptable conversion)
1> D:\OSG0308\osgearth\src\osgEarth/StringUtils(177): could be 'osgEarth::Stringify &osgEarth::Stringify::operator <<(const osgEarth::Stringify &)'
1> while trying to match the argument list '(osgEarth::Stringify, overloaded-function)'
1>D:\OSG0308\osgearth\src\osgEarth/Config(436) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'overloaded-function' (or there is no acceptable conversion)
1> D:\OSG0308\osgearth\src\osgEarth/StringUtils(177): could be 'osgEarth::Stringify &osgEarth::Stringify::operator <<(const osgEarth::Stringify &)'
1> while trying to match the argument list '(osgEarth::Stringify, overloaded-function)'
1>D:\OSG0308\osgearth\src\osgEarth/Config(441) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'overloaded-function' (or there is no acceptable conversion)
1> D:\OSG0308\osgearth\src\osgEarth/StringUtils(177): could be 'osgEarth::Stringify &osgEarth::Stringify::operator <<(const osgEarth::Stringify &)'
1> while trying to match the argument list '(osgEarth::Stringify, overloaded-function)'
1>D:\OSG0308\osgearth\src\osgEarth/Config(441) : error C2660: 'osgEarth::Config::update' : function does not take 2 arguments
1>D:\OSG0308\osgearth\src\osgEarth/Config(446) : error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'overloaded-function' (or there is no acceptable conversion)
1> D:\OSG0308\osgearth\src\osgEarth/StringUtils(177): could be 'osgEarth::Stringify &osgEarth::Stringify::operator <<(const osgEarth::Stringify &)'
1> while trying to match the argument list '(osgEarth::Stringify, overloaded-function)'
1>D:\OSG0308\osgearth\src\osgEarth/Config(446) : error C2660: 'osgEarth::Config::update' : function does not take 2 arguments
是不是我vs2005配置有问题,还是版本有问题,谢谢 |
|