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 #13153 is a reply to message #13148] Tue, 06 March 2012 15:36 Go to previous messageGo to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: 140.181.9*
Hallo Raghav,

It took some time but I found it! in your CMakeList.txt in the DircDet you wrote:

Quote:

set(FAIRDIRCDET_LINKDEF FairDircDetLinkDef.h)
set(FAIRDIRCDET_DICTIONARY ${CMAKE_CURRENT_BINARY_DIR}/FairDict.cxx)



So your detector dictionary is called FairDict.cxx and you use FairBase project which also define the FairDict but of course does not have FairDictDet. please change the lines to :

Quote:

set(FAIRDIRCDET_LINKDEF FairDircDetLinkDef.h)
set(FAIRDIRCDET_DICTIONARY ${CMAKE_CURRENT_BINARY_DIR}/FairDircDict.cxx)


This should solve this problem.

regards,

Mohammad
 
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: Mon Dec 06 15:33:50 CET 2021

Total time taken to generate the page: 0.02194 seconds