I want to use an8-Models from anim8or in my programm. For this I try irrAn8Loader from http://texel3d.free.fr/projets/liban8/index.html.
I use Microsoft Visual Studio 2008. There I link Irrlicht.lib and the include-folder from Irrlicht 1.7.1 and at the top of my code i include one header file which include also irrlicht.h:
Code: Select all
#include<irrAn8Loader.h> //includes irrlicht.hCode: Select all
1>main.obj : error LNK2001: unresolved external symbol ""public: virtual __thiscall irr::scene::irrAn8Loader::~irrAn8Loader(void)" (??1irrAn8Loader@scene@irr@@UAE@XZ)".
1>main.obj : error LNK2001: unresolved external symbol ""public: __thiscall irr::scene::irrAn8Loader::irrAn8Loader(class irr::scene::ISceneManager *,class irr::io::IFileSystem *)" (??0irrAn8Loader@scene@irr@@QAE@PAVISceneManager@12@PAVIFileSystem@io@2@@Z)".Code: Select all
class irrAn8Loader : public IMeshLoader
{
public:
irrAn8Loader(scene::ISceneManager* smgr, io::IFileSystem* fs);
~irrAn8Loader();
virtual bool isALoadableFileExtension(const io::path& fileName) const;
virtual IAnimatedMesh* createMesh(io::IReadFile* file);
private:
void AddMesh(SMesh* am,An8File* aniFile,int meshID,AN8XMATRIX* matrix);
scene::ISceneManager* SceneManager;
io::IFileSystem* FileSystem;
};
irrAn8Loader::irrAn8Loader(scene::ISceneManager* smgr, io::IFileSystem* fs) : SceneManager(smgr), FileSystem(fs)
{
if (FileSystem) FileSystem->grab();
}
//! destructor
irrAn8Loader::~irrAn8Loader()
{
if (FileSystem) FileSystem->drop();
}
After 6 hours I give up searching for a troubleshooting. Did I missed something, should I include some other files or how can I get solved this problem?
Greetings Lunacore