Hi,
I have these three files in my current directory:
macro.C
RooMyPdf.cxx
RooMyPdf.h
I do .x RooMyPdf.cxx+ in root and then RooMyPdf_cxx.so appears.
macro.C includes RooMyPdf.h and uses the RooMyPdf class, but when I run macro.C+, I get this error:
dlopen error: /home/anlevin/8.811/./pset7_task3_C.so: undefined symbol: _ZTV8RooMyPdf
How can I link to RooMyPdf_cxx.so when I do root macro.C+?
It does this automatically when I do root macro.C, but I want to compile the code so that it will run faster.
Andrew