I just have restrucure my project and when i compile i have
[Linker error] undefined reference to `vtable for MyCL'
What could be the cause of the error?
thanks for help
vtable
never seen this.
If I make a guess I'd say You have included some library which is compiled with an old definition of class MyCL and when You try to link this You have linked the old library but are using the new includes or vs. ?
Just recompile everything and all should be ok. Make sure Your libraries are updated/ referenced correctly in Your compiler environment
If I make a guess I'd say You have included some library which is compiled with an old definition of class MyCL and when You try to link this You have linked the old library but are using the new includes or vs. ?
Just recompile everything and all should be ok. Make sure Your libraries are updated/ referenced correctly in Your compiler environment
I don't know why your compiler gives that error, but if I recall correctly,
a vtable is a jump table for calling the virtual functions in related classes,
e.g. calling the class-specific PostRender functions in the different scenenodes without the need for an explicit cast.
In this case it appears to be related to either a file or a class called MyCL, but that's as far as I can read your error message.
a vtable is a jump table for calling the virtual functions in related classes,
e.g. calling the class-specific PostRender functions in the different scenenodes without the need for an explicit cast.
In this case it appears to be related to either a file or a class called MyCL, but that's as far as I can read your error message.
Normally this sort of error message is reported on Windows when a class is not properly exported from a DLL. Declaring a class in which each method is pure virtual will work fine without the need to export, but if any of the methods are implemented (other than as inlines) then you will need to export the class (or at least the implemented metthod(s)).