Hello!
I have the following issue on my Mac (OS X 10.8.4)
With apr13 external packages and Pandaroot Rev 20693
I work with the PndAnalysis class. I use several class-functions without a problem.
But when I try to set the verbose level with
theAnalysis=new PndAnalysis("SttMvdGemFtsGenIdealTrackSelection");
theAnalysis->SetVerbose(1);
everything compiles fine, but when I try to run my macro with my own analysis task I get the following output :
dlopen error: dlopen(/Users/simone/fairroot/buildpandaroot_newest/lib/libMCMatchExamples.so, 9): Symbol not found: __ZN11PndAnalysis8fVerboseE
Referenced from: /Users/simone/fairroot/buildpandaroot_newest/lib/libMCMatchExamples.so
Expected in: flat namespace
in /Users/simone/fairroot/buildpandaroot_newest/lib/libMCMatchExamples.so
Load Error: Failed to load Dynamic link library /Users/simone/fairroot/buildpandaroot_newest/lib/libMCMatchExamples.so
Warning: Return value of void run_eventana_complete() ignored run_eventana_complete.C:37:
root [1]
When I remove from the PndAnalysis task the static definition from the fVerbose variable and the line (line 45 in .cxx)
Int_t PndAnalysis::fVerbose=1;
whitch defines the variable outside of the class evrything works fine.
Is there any reason why it is like this? Can one change this?
Best regards
Simone
[Updated on: Tue, 13 August 2013 14:44]
Report message to a moderator