Hi~
I have two question.
1.
I derived from "CAnimatedMeshSceneNode" and compiled it.
There are tons of link error about CAnimatedMeshSceneNode functions.
The problem is using DLL, I change to static lib, solved.
Why I Can't use DLL?
2.
searching result :
http://irrlicht.sourceforge.net/phpBB2/ ... hscenenode
http://irrlicht.sourceforge.net/phpBB2/ ... hscenenode
http://irrlicht.sourceforge.net/phpBB2/ ... hscenenode
Every say Don't derive from "CAnimatedMeshSceneNode".
I can't see exact reason.
Why don't Derive from "C...SceneNode" class?
Thanks in advance.
Two question about DLL, CAnimatedMeshSceneNode.
-
NewerCookie
- Posts: 20
- Joined: Sat Jan 10, 2009 12:53 pm
Two question about DLL, CAnimatedMeshSceneNode.
I hope you understand my poor english.
If i used wrong sentence, notify me.
If i used wrong sentence, notify me.
1.
The DLL only exports the createDevice function. The linker doesn't know about any other thing unless you use the static lib which exports everything.
2.
Because the C... are implementations of an interface. Just derive your class from the I... interfaces and implement them.
The DLL only exports the createDevice function. The linker doesn't know about any other thing unless you use the static lib which exports everything.
2.
Because the C... are implementations of an interface. Just derive your class from the I... interfaces and implement them.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
-
NewerCookie
- Posts: 20
- Joined: Sat Jan 10, 2009 12:53 pm
Sylence, Thanks a lot!
I must copy and paste all of CAnimatedMeshSceneNode to new scenenode?
They are almost identical. memory is wasted by same functions,variables.
It's right way?
for example, CAnimatedMeshSceneNode is so huge.Because the C... are implementations of an interface. Just derive your class from the I... interfaces and implement them.
I must copy and paste all of CAnimatedMeshSceneNode to new scenenode?
They are almost identical. memory is wasted by same functions,variables.
It's right way?
I hope you understand my poor english.
If i used wrong sentence, notify me.
If i used wrong sentence, notify me.
-
NewerCookie
- Posts: 20
- Joined: Sat Jan 10, 2009 12:53 pm
Thanks, hybrid
It's make difficult to use next version, right?
I go to copy and paste..
No, I don't want to edit engine code, directly.you have to put the node into the library, which means altering Irrlicht to some extent.
It's make difficult to use next version, right?
I go to copy and paste..
I hope you understand my poor english.
If i used wrong sentence, notify me.
If i used wrong sentence, notify me.