I’m a relatively new user to Geant4 and this forum, so if this is in the wrong place I would appreciate it if you’d accept my apologies and perhaps point me in the right direction.
I have a code that compiled fine in version 10.5 (in the virtual machine), but gives the following error in the 10.6 virtual machine:
/home/local1/benchmark/brachytherapy/src/BrachyUserScoreWriter.cc: In member function ‘virtual void BrachyUserScoreWriter::DumpQuantityToFile(const G4String&, const G4String&, const G4String&)’:
/home/local1/benchmark/brachytherapy/src/BrachyUserScoreWriter.cc:87:1: error: ‘MeshScoreMap’ was not declared in this scope
MeshScoreMap fSMap = fScoringMesh -> GetScoreMap();
The relevant headers (G4VScoringMesh.hh etc) have been declared. Furthermore, nothing was changed when copy-pasting the source code from the 10.5 VM to the 10.6 VM.
Any help will be greatly appreciated! Thank you!
P.S. the code was the brachytherapy example used in the Geant4 school in December 2019