CodeMaker
24-01-2006 20:57:27
Hi, I've got a little troubles, if someone can help me I would be so grateful
I'm working with Code:Blocks, Ogre v1.0.6
and lastest version of ogreaddons downloaded from CVS
When I tried to compile the PagingLandscape plugin I get:
..\src\OgrePagingLandScapeData2DManager.cpp:701: error: no matching function for call to `Ogre::Math::pointInTri2D(const Ogre::Vector2&, Ogre::Vector2&, Ogre::Vector2&, Ogre::Vector2&)'
../../../OgreMain/include/OgreMath.h:374: note: candidates are: static bool Ogre::Math::pointInTri2D(Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real)
The line of code where it appears is:
if (!Math::pointInTri2D (pos, a2d, b2d, c2d))
this error appears several times, in too many different lines where is contained this code
And when I tried to compile the IPLSceneManager plugin I get:
../include/OgreIPLOptions.h:52: error: `SDDataChunk' was not declared in this scope
../include/OgreIPLOptions.h:52: error: template argument 1 is invalid
../include/OgreIPLOptions.h:52: error: template argument 2 is invalid
../include/OgreIPLOptions.h:52: error: ISO C++ forbids declaration of `refValueList' with no type
The line of code where it appears is:
bool getOptionValues( const String& strKey, std::list<SDDataChunk>& refValueList );
In Ogre forums they tell me that the plugin must to be compiled with Ogre version Dagon, but only exist the VC version, this version works with Code::Blocks too????
Please I need some help, I have no idea of what's happening.
Thanks for your attention!!!!
I'm working with Code:Blocks, Ogre v1.0.6
and lastest version of ogreaddons downloaded from CVS
When I tried to compile the PagingLandscape plugin I get:
..\src\OgrePagingLandScapeData2DManager.cpp:701: error: no matching function for call to `Ogre::Math::pointInTri2D(const Ogre::Vector2&, Ogre::Vector2&, Ogre::Vector2&, Ogre::Vector2&)'
../../../OgreMain/include/OgreMath.h:374: note: candidates are: static bool Ogre::Math::pointInTri2D(Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real)
The line of code where it appears is:
if (!Math::pointInTri2D (pos, a2d, b2d, c2d))
this error appears several times, in too many different lines where is contained this code
And when I tried to compile the IPLSceneManager plugin I get:
../include/OgreIPLOptions.h:52: error: `SDDataChunk' was not declared in this scope
../include/OgreIPLOptions.h:52: error: template argument 1 is invalid
../include/OgreIPLOptions.h:52: error: template argument 2 is invalid
../include/OgreIPLOptions.h:52: error: ISO C++ forbids declaration of `refValueList' with no type
The line of code where it appears is:
bool getOptionValues( const String& strKey, std::list<SDDataChunk>& refValueList );
In Ogre forums they tell me that the plugin must to be compiled with Ogre version Dagon, but only exist the VC version, this version works with Code::Blocks too????
Please I need some help, I have no idea of what's happening.
Thanks for your attention!!!!