IrrAssimp Unresolved External Symbol

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Kamerik
Posts: 10
Joined: Tue Oct 18, 2022 5:44 pm

IrrAssimp Unresolved External Symbol

Post 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?
CuteAlien
Admin
Posts: 9689
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: IrrAssimp Unresolved External Symbol

Post 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?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Kamerik
Posts: 10
Joined: Tue Oct 18, 2022 5:44 pm

Re: IrrAssimp Unresolved External Symbol

Post 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."
Kamerik
Posts: 10
Joined: Tue Oct 18, 2022 5:44 pm

Re: IrrAssimp Unresolved External Symbol

Post by Kamerik »

It worked, though the scale is way too big lol!

Image

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