Irrlicht 1.7.2
PhysX 2.8.3
I'm trying to build my programming knowledge by extending the IAnimatedMeshSceneNode with PhysX built in based on the PhysXIrrlicht Implementation example posted a long time ago by Nikolaus Gebhardt
see: http://irrlicht.sourceforge.net/phpBB2/ ... ight=physx
for the code and a discussion.
I'm doing this as a learning exercise so I'm taking it as slowly as possible, and I want to start with nothing more then a simple cube which will react based on PhysX. I was able to do this perfectly fine with OpenGL, but Irrlicht has just so much more to offer, however, I find myself a bit lost in some of the errors I am getting.
Here is one such error which has me stumped, as it references code I did not write, if someone could shed some light as to how to fix this problem I will be very grateful:
Code: Select all
1> NxAnimatedMeshSceneNode.cpp
1>c:3d\irrlicht\irrlicht-1.7.2\include\irrstring.h(283): error C2451: conditional expression of type 'const irr::scene::IAnimatedMesh' is illegal
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1> c:\3d\irrlicht\irrlicht-1.7.2\include\irrstring.h(218) : see reference to function template instantiation 'irr::core::string<T> &irr::core::string<T>::operator =<B>(const B *const )' being compiled
1> with
1> [
1> T=irr::c8,
1> B=irr::scene::IAnimatedMesh
1> ]
1> c:\3d\projects\irrxcube\irrxcube\nxanimatedmeshscenenode.cpp(775) : see reference to function template instantiation 'irr::core::string<T>::string<irr::scene::IAnimatedMesh>(const B *const )' being compiled
1> with
1> [
1> T=irr::c8,
1> B=irr::scene::IAnimatedMesh
1> ]I am thinking that this error stems from the following line based on the error
Code: Select all
core::stringc oldMeshStr = SceneManager->getMeshCache()->getMeshByName(Mesh);If anyone could point me in the right direction, it would help me out a lot.
Thanking you in advance
xp