Installation error with Geant4 10.5

Issue #262 resolved
Former user created an issue

Here is a problem when compilation is made with the latest Geant4 10.5 version. Probably caused by the last modification of EM field definition where G4MagneticField doesn't inherit from G4ElectroMagneticField.

error: no matching function for call to ‘BDSFieldObjects::BDSFieldObjects(const BDSFieldInfo, G4MagneticField&, G4Mag_EqRhs&, G4MagIntegratorStepper&)’ bEqOfMotion, integrator);

Comments (4)

  1. Jochem Snuverink

    Thanks for the issue. This will be fixed when the next version is released. As a workaround you can use the develop branch instead.

  2. Laurie Nevay

    Also, we expect the next version (1.3) to be released within a week. As well as the develop branch, you can also use Geant4.10.4.p02.

  3. Log in to comment