You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered two cases of a class inheriting from a templated base class that is blocking the progress in Geant4.jl.
Class G4[U]Box inherits from G4UAdapter<vecgeom::UnplacedBox> and this one inherits from public G4VSolid, protected UnplacedVolume_t. It is needed that we can use instances of G4Box in function arguments expecting G4VSolid*.
Class HepGeom::Point3D<double> does not wrap any constructor. I get the following error:
[ Info: Precompiling Geant4 [559df036-b7a0-42fd-85df-7d5dd9d70f44]
C++ exception while wrapping module Geant4: No appropriate factory for type N7HepGeom7Point3DIdEE
ERROR: LoadError: No appropriate factory for type N7HepGeom7Point3DIdEE
The class is defined as template<class T> class Point3D : public BasicVector3D<T> {};
To reproduce the last error the following config file will do it:
I encountered two cases of a class inheriting from a templated base class that is blocking the progress in Geant4.jl.
G4[U]Box
inherits fromG4UAdapter<vecgeom::UnplacedBox>
and this one inherits frompublic G4VSolid, protected UnplacedVolume_t
. It is needed that we can use instances ofG4Box
in function arguments expectingG4VSolid*
.HepGeom::Point3D<double>
does not wrap any constructor. I get the following error:template<class T> class Point3D : public BasicVector3D<T> {};
To reproduce the last error the following config file will do it:
The text was updated successfully, but these errors were encountered: