Hi! I have a little problem. I wish to overload the classes CIrrDeviceWin32 and CGUIEnvironment in order change some small details that does not fit in with my plan (to become the supreme ruler of the universe!). However, I get lots of unresolved externals when I do this. Is it so that the only classes I can inherit from are those listed in irrlicht.h ? If so, is there anyway around this? Without having to recompile the engine? Error example below:
Testing error LNK2001: unresolved external symbol "public: virtual void __thiscall irr::CIrrDeviceWin32::present(class irr::video::ISurface *)" (?present@CIrrDeviceWin32@irr@@UAEXPAVISurface@video@2@@Z)
This goes on for all the other member functions as well.
Class overloading
-
42
Re: Class overloading
As You correctly presumed there is no other way than to compile the whole irrlicht project. mementarily there's no possibility to define the device from outside irrlicht.I wish to overload the classes CIrrDeviceWin32 and CGUIEnvironment in order change some small details that does not fit in with my plan (to become the supreme ruler of the universe!). However, I get lots of unresolved externals when I do this. Is it so that the only classes I can inherit from are those listed in irrlicht.h ? If so, is there anyway around this? Without having to recompile the engine? Error example below:
but recompiling is not hard there should be quiet a few hints in the forum if you'd have problems.
42
-
[dx/x]=HUNT3R
- Posts: 271
- Joined: Sat Aug 23, 2003 5:52 pm
- Location: Hurricane Central, Florida