GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Creating a new Detector out of 2 or more detectors
Re: Creating a new Detector out of 2 or more detectors [message #13139 is a reply to message #13138] Sat, 03 March 2012 03:44 Go to previous messageGo to previous message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *dyn.optonline.net
Update:

Now i linked the libraries both ways,

inside CMakeLists.txt in DircDet, i did

set(LINK_DIRECTORIES
${ROOT_LIBRARY_DIR}
${FAIRROOT_SOURCE_DIR}/example/simpletracker/src
)

and inside CMakeLists.txt in Simpletracker (where my macro is) i did

set(LINK_DIRECTORIES
${ROOT_LIBRARY_DIR}
${FAIRROOT_SOURCE_DIR}/example/DircDet/src
${FAIRROOT_SOURCE_DIR}/example/EmlfDet/src
${FAIRROOT_SOURCE_DIR}/example/FgtDet/src
${FAIRROOT_SOURCE_DIR}/example/HcalDet/src
${FAIRROOT_SOURCE_DIR}/example/HtckDet/src
${FAIRROOT_SOURCE_DIR}/example/SitDet/src
${FAIRROOT_SOURCE_DIR}/example/TpcDet/src
${FAIRROOT_SOURCE_DIR}/example/TrsDet/src
)

So now i think that they are linked from both ways, and still root gives me

Processing run_simpletracker.C...
*********************************************************
* The Pluto event generator
* Developed by HADES and all contributing AUTHORS
* www-hades.gsi.de/computing/pluto/html/PlutoIndex.html
* Version: 5.37
* Compiled on 26 January 2012
*********************************************************
[INFO ] Media file used : /Users/raghav/fairroot/example/geometry/media.geo
[INFO ] User path for detector geometry : /Users/raghav/fairroot/example/geometry/cave.geo
[INFO ] User path for detector geometry : /Users/raghav/fairroot/example/geometry/magnet.geo
Error: Symbol FairDircDet is not defined in current scope run_simpletracker.C:124:
Error: type FairDircDet not defined FILE:/Users/raghav/fairroot/example/simpletracker/macros/./run_simpletra cker.C LINE:124
*** Interpreter error recovered ***
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Creating geometry for a new detector
Next Topic: FairMCPoint
Goto Forum:
  


Current Time: Fri Apr 19 23:00:26 CEST 2024

Total time taken to generate the page: 0.01174 seconds