Page 1 of 1

compile error for rollOverIcons

Posted: Sun Nov 24, 2019 2:49 am
by netpipe
https://github.com/netpipe/IrrlichtDemo ... lOverIcons

/rollOverIcons/listFileSwitch.h|41|note: virtual irr::gui::IGUIScrollBar* irr::gui::CNrp2DPictureFlow::getVerticalScrollBar() const|

used to work with 1.4 or 1.7 but no longer compiles. i tried adding in the function with no avail.

Re: compile error for rollOverIcons

Posted: Sun Nov 24, 2019 12:06 pm
by CuteAlien
From first view - you have it as pure virtual in your implementation (the = 0 stuff), which can't work as virtual functions needs some impementation or you can't use a class.

So do something like:
virtual IGUIScrollBar* getVerticalScrollBar() const { return 0; }

If that doesn't work please copy-paste the exact compile error.

Re: compile error for rollOverIcons

Posted: Sun Nov 24, 2019 12:39 pm
by netpipe
yep, that solved the compile issue. thanks

Re: compile error for rollOverIcons

Posted: Wed Nov 27, 2019 6:13 am
by netpipe