How does Irrlicht export classes?

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
archmager
Posts: 3
Joined: Tue Nov 09, 2010 7:54 am

How does Irrlicht export classes?

Post by archmager »

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

Post by CuteAlien »

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
Post Reply