View Single Post
  #5   Spotlight this post!  
Unread 28-01-2010, 18:06
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Help interpreting load time error

Quote:
Originally Posted by mikets View Post
Yes, you are right, it is the typeinfo and vtable. But what does it mean if these symbols are missing? TrcRobot is the base class of MyRobot. Why would the vtable of the TrcRobot be missing?
You have not included the actual code, so it's a little hard to say, but I would speculate that you don't have a virtual destructor defined for TrcRobot. Since the RobotBase and SimpleRobot destructors are virtual and TrcRobot inherits from them and is then inherited from by MyRobot, you must have a virtual destructor at all levels of the hierarchy. Leaving it out of one class in the middle won't work. The default destructor is not virtual.

-Joe
Reply With Quote