|
本帖最后由 xiaoming_li834 于 2011-7-27 20:30 编辑
在svn上下载了最新的osg和vpb代码,然后都编译trunk下面的最新代码,osg编译是没问题的。然后vpb编译出现了很奇怪的问题。编译环境是vs2008
错误如下,请高手帮分析下,难道是osg和vpb版本不匹配?
2>D:\OSG\osg\OpenSceneGraph\trunk\include\osg/State(2489) : error C2784: 'bool std:perator <(const std::deque<_Ty,_Alloc> &,const std::deque<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::deque<_Ty,_Alloc> &' from 'const std::string'
2> D:\Program Files\Microsoft Visual Studio 9.0\VC\include\deque(1354) : see declaration of 'std::operator <'
2>D:\OSG\osg\OpenSceneGraph\trunk\include\osg/State(2489) : error C2784: 'bool std:operator <(const std::deque<_Ty,_Alloc> &,const std::deque<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::deque<_Ty,_Alloc> &' from 'const std::string'
2> D:\Program Files\Microsoft Visual Studio 9.0\VC\include\deque(1354) : see declaration of 'std::operator <'
2>D:\OSG\osg\OpenSceneGraph\trunk\include\osg/State(2489) : error C2784: 'bool std:operator <(const std::deque<_Ty,_Alloc> &,const std::deque<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::deque<_Ty,_Alloc> &' from 'const std::string'
2> D:\Program Files\Microsoft Visual Studio 9.0\VC\include\deque(1354) : see declaration of 'std::operator <'
2>D:\OSG\osg\OpenSceneGraph\trunk\include\osg/State(2489) : error C2784: 'bool std::operator <(const std::deque<_Ty,_Alloc> &,const std::deque<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::deque<_Ty,_Alloc> &' from 'const std::string'
2> D:\Program Files\Microsoft Visual Studio 9.0\VC\include\deque(1354) : see declaration of 'std::operator <'
2>D:\OSG\osg\OpenSceneGraph\trunk\include\osg/State(2489) : error C2784: 'bool std::operator <(const std::list<_Ty,_Ax> &,const std::list<_Ty,_Ax> &)' : could not deduce template argument for 'const std::list<_Ty,_Ax> &' from 'const std::string' |
|