C++ error

Why do I get "undefined reference to 'vtable'" error in my c++ program? Abstract classes and virtual methods are used. How to fix this?
1 answer

C++ vtable error solution

On gcc website (http://gcc.gnu.org/faq.html#vtables) you can read that you have to ensure that all virtual methods that are not pure are defined. Destructor must be defined even if it is declared pure-virtual.