Page 1 of 1

IrrAssimp Unresolved External Symbol

Posted: Sun Nov 27, 2022 6:28 pm
by Kamerik
Hi,

I am trying to get animated meshes working in Irrlicht but have no idea how to convert my animated model to a b3d or similar. However, I've managed to find the library IrrAssimp and I'm currently trying to get that set up so I can use animated FBX models in Irrlicht.

https://github.com/JLouis-B/IrrAssimp

I've linked everything but I'm getting an unresolved external symbol and I have no idea what could be causing it.

Image

All I'm doing is #include "IrrAssimpImport.h" at the top of my GraphicsSubsystem.cpp and smgr->addExternalMeshLoader(new IrrAssimpImport(smgr)); in my constructor.

If I try to do something with just assimp, I don't get any errors so it must be to do with IrrAssimp but I'm not sure how to resolve it.

Include Directories

Image

Library Directories

Image

Additional Dependencies

Image

Any ideas?

Re: IrrAssimp Unresolved External Symbol

Posted: Sun Nov 27, 2022 6:49 pm
by CuteAlien
Maybe just don't use it as lib but add the few irrAssimp files to your project (just 8 files...). At least to see if it works then. If it still fails then it's something about the irrAsimp code. If it works then... you did link it worngly somehow.
Otherwise... I've not used the lib yet, but is assimp-vc142-mtd.lib the one? Or is that the real assimp and you haven't added irrAssimp.lib to additional dependencies?

Re: IrrAssimp Unresolved External Symbol

Posted: Sun Nov 27, 2022 6:51 pm
by Kamerik
I'll give that a try. assimp-vc142-mtd.lib is the assimp lib. IrrAssimp doesn't have a lib, the github just says "The files of the subfolder "IrrAssimp" included in your project."

Re: IrrAssimp Unresolved External Symbol

Posted: Sun Nov 27, 2022 7:11 pm
by Kamerik
It worked, though the scale is way too big lol!

Image

It's easily fixed though, thanks once again for the help. :)