Hi all!
I have installed geant4 with DGEANT4_MULTITHREADED=ON
It works fine in multithreaded mode, but when I try to turn it off with
#undef G4MULTITHREADED
in the beginning of my main file
I get the following error:
CMakeFiles/bin_Lucas.dir/Lucas.cc.o: In function
`TQGSP_BERT<G4VModularPhysicsList>::SetCuts()':
Lucas.cc:
(.text._ZN10TQGSP_BERTI21G4VModularPhysicsListE7SetCutsEv[_ZN10TQGSP_B
ERTI21G4VModularPhysicsListE7SetCutsEv]+0xd): undefined reference to `G4cout'
CMakeFiles/bin_Lucas.dir/Lucas.cc.o: In function
`TQGSP_BERT<G4VModularPhysicsList>::TQGSP_BERT(int)':
Lucas.cc:
(.text._ZN10TQGSP_BERTI21G4VModularPhysicsListEC1Ei[_ZN10TQGSP_BERTI21 G4VModularPhysicsListEC1Ei]+0x85): undefined reference to `G4cout'
collect2: error: ld returned 1 exit status
Is this a bug?
cheers