I have made a simple detector class with member values of length, width, and height. I can neither implement it into another library, nor load it in root.
If I try to implement it into another library and declare a variable of type “Detector” as follows, I get the following error:
Update: I installed the latest root and updated xcode and x11 and the class can now be called from within a root session but when trying to call it inside a function I still receive the following error:
[quote]Undefined symbols for architecture x86_64:
“vtable for Detector”, referenced from:
_main in main.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [generator] Error 1[/quote]