I'm trying to recompile Irrlicht 1.7.3 with some of the features from Acki's IrrExtensions (IGridSceneNode, IDecalSceneNode, IGUIProgressBar, IProgressbasSceneNode). Since I'm using Visual Studio 2008 I can't use the Extensions built in recompile function. I compile the Irrlicht solution without support for DirectX 8 and it went well until the compiler reached CSceneManager.cpp where it gets an error on the following code:
Code: Select all
//! Get a skinned mesh, which is not available as header-only code
ISkinnedMesh* CSceneManager::createSkinnedMesh()
{
#ifdef _IRR_COMPILE_WITH_SKINNED_MESH_SUPPORT_
return new CSkinnedMesh();
#else
return 0;
#endif
}
The error is:
Code: Select all
.\CSceneManager.cpp(2587) : error C2512: 'irr::scene::CSkinnedMesh' : no appropriate default constructor available
I've been trying to solve this for a day now, everything seems ok in the CSkinnedMesh-files and if I recompile Irrlicht without the extensions everything is working fine and it also works if I disable the skinned mesh support, but I would like to keep that feature active. Any ideas on how to solve this problem is appreciated.
It'll only take a minute or two to debug this code...