I have an example from old version of geant4, i want to build it using visual studio 2019, but i faced these error , i have new version of geant4. what the best way to solve it?

Hello,

Ideally, you should use the example you’re interested in from the version of Geant4 you have installed.

If your example contains modifications, compare them to the original example from the old version of Geant4, then apply them to the example in your current version.

Best regards,

Thanks for your replay.
I want to simulate the response function of scintillation detector, which example is close to that?? i m confused from where i should start.

You can take a look in the extended/optical/LXe example.

1 Like