GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Add new classes to libraries
Add new classes to libraries [message #9278] Tue, 01 September 2009 15:03 Go to next message
Christian Leitold is currently offline  Christian Leitold
Messages: 35
Registered: August 2009
Location: Stefan Meyer Institute
continuous participant
From: *smi.oeaw.ac.at
Hello,

I thought it would be best to open a new topic concerning my (old) library issues. The problem is the following: How can I add new classes to my installation of PANDA ROOT?

For example, in trunk/base, there are the class files for FairVTrack. In the same directory is the file CMakeLists.txt. There, in the list for the files to be compiled into the library, the file FairVTrack.cxx is commented out. I have tried to remove this comment, since I thought I would need the class. Then, I can do a cmake in trunk and compile the libraries with a make in build. This works fine, but ROOT crashes as soon as I try to load the modified library in a macro, with an error like this:

Load Error: Failed to load Dynamic link library /home/cleitold/pandaroot/fairsoft/build/lib/libBase.so

So, what am I doing wrong? We already had this problem when we tried to add a new generator a few weeks ago. (As a workaround we have modified an existing one so far).

Thanks
Christian
Re: Add new classes to libraries [message #9280 is a reply to message #9278] Tue, 01 September 2009 15:22 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
you have also to modify the XXXLinkDef file, in order to have everything running (hopefully).
Re: Add new classes to libraries [message #9281 is a reply to message #9278] Tue, 01 September 2009 15:28 Go to previous message
Christian Leitold is currently offline  Christian Leitold
Messages: 35
Registered: August 2009
Location: Stefan Meyer Institute
continuous participant
From: *smi.oeaw.ac.at
Wow, it's really that simple! Still, I could not find it myself ... thanks for your help!

Kind regards
Christian
Previous Topic: Solenoid field effect on the particle track theta!
Next Topic: Track Visualization questions
Goto Forum:
  


Current Time: Mon Oct 14 16:39:41 CEST 2024

Total time taken to generate the page: 0.00700 seconds