[Gate-users] gate7.1 compilation error
Mohsen shahabi
s.mohsen_shahabi at yahoo.com
Thu Oct 1 18:58:59 CEST 2015
hello gate users
I want to install gate7.1 in ubuntu14.10 and it gives me this error:
/home/mohsen/Progs/Gate/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc: In member function ‘void GateMaterialMuHandler::SimulateMaterialTable()’:
/home/mohsen/Progs/Gate/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc:389:132: error: no matching function for call to ‘G4VEmProcess::SelectModelForMaterial(double&, long unsigned int&)’
/home/mohsen/Progs/Gate/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc:389:132: note: candidate is:
/home/mohsen/Progs/Geant4/geant4.10.1-install/include/Geant4/G4VEmProcess.hh:468:13: note: G4VEmModel* G4VEmProcess::SelectModelForMaterial(G4double, size_t&) const
/home/mohsen/Progs/Geant4/geant4.10.1-install/include/Geant4/G4VEmProcess.hh:468:13: note: no known conversion for argument 2 from ‘long unsigned int’ to ‘size_t& {aka unsigned int&}’
/home/mohsen/Progs/Gate/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc:393:84: error: no matching function for call to ‘G4VEmProcess::SelectModelForMaterial(double&, long unsigned int&)’
/home/mohsen/Progs/Gate/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc:393:84: note: candidate is:
/home/mohsen/Progs/Geant4/geant4.10.1-install/include/Geant4/G4VEmProcess.hh:468:13: note: G4VEmModel* G4VEmProcess::SelectModelForMaterial(G4double, size_t&) const
/home/mohsen/Progs/Geant4/geant4.10.1-install/include/Geant4/G4VEmProcess.hh:468:13: note: no known conversion for argument 2 from ‘long unsigned int’ to ‘size_t& {aka unsigned int&}’
/home/mohsen/Progs/Gate/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc:402:132: error: no matching function for call to ‘G4VEmProcess::SelectModelForMaterial(double&, long unsigned int&)’
/home/mohsen/Progs/Gate/gate_v7.1/source/digits_hits/src/GateMaterialMuHandler.cc:402:132: note: candidate is:
/home/mohsen/Progs/Geant4/geant4.10.1-install/include/Geant4/G4VEmProcess.hh:468:13: note: G4VEmModel* G4VEmProcess::SelectModelForMaterial(G4double, size_t&) const
/home/mohsen/Progs/Geant4/geant4.10.1-install/include/Geant4/G4VEmProcess.hh:468:13: note: no known conversion for argument 2 from ‘long unsigned int’ to ‘size_t& {aka unsigned int&}’
CMakeFiles/Gate.dir/build.make:9257: recipe for target 'CMakeFiles/Gate.dir/source/digits_hits/src/GateMaterialMuHandler.cc.o' failed
make[2]: *** [CMakeFiles/Gate.dir/source/digits_hits/src/GateMaterialMuHandler.cc.o] Error 1
CMakeFiles/Makefile2:622: recipe for target 'CMakeFiles/Gate.dir/all' failed
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
can anyone help me?
thanks
mohsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20151001/75c00c55/attachment-0001.html>
More information about the Gate-users
mailing list