> Actually I was including in the header file the virtual destructor.. So why 
> is 
> it giving me such error?
Read the warning
(file:///home/vaclav/yade/ydoc/_build/html/prog.html#run-time-type-identification-rtti)
 again:

at least one virtual method must be present in the implementation (.cpp) file.
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Otherwise it is not included in the object file (even though it is fully
defined in the .hpp file); if there are no virtual functions in the
object file, there will be no typeinfo and vtable for that class either.

HTH, v


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to