compile error for rollOverIcons

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
netpipe
Posts: 669
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

compile error for rollOverIcons

Post 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.
Last edited by netpipe on Fri May 29, 2020 10:29 pm, edited 1 time in total.
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
CuteAlien
Admin
Posts: 9652
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: compile error for rollOverIcons

Post 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.
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
netpipe
Posts: 669
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

Re: compile error for rollOverIcons

Post by netpipe »

yep, that solved the compile issue. thanks
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
netpipe
Posts: 669
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

Re: compile error for rollOverIcons

Post by netpipe »

Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
Post Reply