I recently write an dll, which need inherit CSceneManager. Unfortunately, I got a lot of link error. Lots of methods in C*** classes are regarded as unresolved external symbols(LNK 2001). the Irrlicht.lib had been linked in the program. What's wrong?
I checked Irrlicht, I can't find how Irrlicht export classes. I will be appreciate if someone could help me with these problems.
How does Irrlicht export classes?
You can't inherit from the classes starting with C. You could inherit from ISceneManager or simply copy the CSceneManager files (and rename the classes), but replacing the scenemanager isn't really an option without changing the engine sources. So in this case you will have to work in the engine sources directly.
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm