I am trying to run RPC example in Garfield ++.
I did the installation and other examples such as Gem, Silicon, and DriftTube work perfectly and the outputted ROOT graphs are perfect. But when I tried to run the RPC example I got this error which I am not sure how to fix.
Undefined symbols for architecture x86_64:
“Garfield::ComponentParallelPlate::Setup(double, double, double, double, double)”, referenced from:
_main in Weight.C.o
ld: symbol(s) not found for architecture x86_64
I am not example sure how to fix this error. I opened ComponentParallelPlate.hh file from Garfield and Weight.C file from RPC folder and the function Setup is defined and used correctly.
Anyone had a similar issue who can assist me with fixing it? Or can you give me a quick hint as to what is going wrong?
Thank you.