This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

interface-> undefined symbol typeinfo

Hello together,

i´m trying for the first time to use an interface. To do this i´m doing a very simple interface wich has only one "doIt()" Method. I made two Classes wich inherit in the header from this Interface and implement the "doIt()" Method. One object simply adds "3" to a given argument and the other just substracts "2" from the argument. These two classes are instantiatet in an object and adresses are stored in an array of the type from the interface. If i just compile "the active
file" while everything is ok even if i go up until the main file. But when i accually build the project i get the
massage "undefined symbol type info for Interface_X". The odd thing is, i just get it for one of the classes
which inherit the interface and it´s allways the same class no matter in which order i instantiate them.
But they are both exacly the same execept for the +3 and -2 thing and the class names.
Is there an typical mistake i could have done?

Jasson

0