C++ problem with pure virtual method

That's really odd. I have a Sketch with a pure virtual function...

Indeed it is. Are you compiling this with the Arduino IDE? My problem is not the DebounceButton class, but this. Sorry for taking over this thread.