steven
26-05-2009 06:24:32
Hey
I resolved the two compile errors below with CThugha: see the next post
1) Since rev 8459 the SceneNode doesn't inherit anymore from Renderable .
Hence Hydrax doesn't compile because it uses getWorldTransforms
Should we use SceneNode::_getFullTransform() ?
2) The line 306 of CfgFileManager.cpp:
gives this error
I will work on it.
I resolved the two compile errors below with CThugha: see the next post
1) Since rev 8459 the SceneNode doesn't inherit anymore from Renderable .
Hence Hydrax doesn't compile because it uses getWorldTransforms
1>.\src\Hydrax\Modules\SimpleGrid\SimpleGrid.cpp(306) : error C2039: 'getWorldTransforms' : is not a member of 'Ogre::SceneNode'
etc
Should we use SceneNode::_getFullTransform() ?
2) The line 306 of CfgFileManager.cpp:
std::vector<Ogre::String> Cmpnts = Ogre::StringUtil::split(CfgFile.getSetting("Components"), "|");
gives this error
1>.\src\Hydrax\CfgFileManager.cpp(305) : error C2440: 'initializing' : cannot convert from 'std::vector<_Ty,_Ax>' to 'std::vector<_Ty>'
1> with
1> [
1> _Ty=Ogre::String,
1> _Ax=Ogre::STLAllocator<Ogre::String,Ogre::GeneralAllocPolicy>
1> ]
1> and
1> [
1> _Ty=Ogre::String
1> ]
1> No constructor could take the source type, or constructor overload resolution was ambiguous
I will work on it.