Dealing with errors

Hello everyone
I am a student studying nuclear physics.
I don’t know how to deal with the following error. Related files are attached.
I look forward to working with you.


PrimaryGeneratorAction.cc (3.4 KB) RunAction.cc (3.6 KB) HistoManager.cc (3.9 KB) TrackingMessenger.cc (4.3 KB) ActionInitialization.cc (3.1 KB) EventAction.cc (3.2 KB) DetectorConstruction.cc (10.9 KB) CalorHit.cc (3.2 KB) CalorimeterSD.cc (4.6 KB) TrackingAction.cc (7.1 KB) Run.cc (13.7 KB) SteppingVerbose.cc (6.6 KB) PhysicsList.cc (5.0 KB)

Which platform is this on, and which version of Geant4 are you using?

It looks like you’re extending the rdecay01 example, and I’d guess the files you’ve added haven’t been added to the build in the CMakeLists.txt file. See this section of the Application Developer Guide, and in particular item 4 and 5 on adding sources. I suspect it may just be a case of rerunning the cmake step to pick the new files up.