Hello,
I have followed the steps in the tutorial (http://root.cern.ch/root/Tutorials.html) in order to create a CINT dictionary for a new (simple) class. After typing make everything is correct: ditionary generation and linkation to the shared library . The problem arises when I try to load the created shared library in root doing gSystem->Load(“libQEevent.so”). The error message is the following:
root [0] gSystem->Load("libQEevent.so")
dlopen error: /home/delaossa/root_examples/ClassGeneration/./libQEevent.so: undefined symbol: _ZTV7QEevent
Load Error: Failed to load Dynamic link library /home/delaossa/root_examples/ClassGeneration/./libQEevent.so
(int)(-1)
*** Interpreter error recovered ***
I send the source code for the case it can help. (it is very small and simple).
Thank you in advance.
Alberto.
QEeventdict.tar.gz (1.7 KB)