[Gate-users] Error during GATE 6.2 compilation on Fedora 17 64-bit

Paweł Kowalski flukson at gmail.com
Thu Oct 25 19:16:27 CEST 2012


Hello,

After compilation of 29% of Gate, I get error listed below. Do you
know what could be a reason of this error? I am new to Fedora. I would
be grateful if someone told me how to solve this problem. Any help
would be appreciated.

Best regards,
Paweł Kowalski,
NCBJ, Poland

[ 29%] Building CXX object
CMakeFiles/Gate.dir/source/geometry/src/GatePETScannerSystem.cc.o
[ 29%] Building CXX object
CMakeFiles/Gate.dir/source/geometry/src/GateMDBFieldReader.cc.o
In file included from
/opt/gate_v6.2/source/geometry/include/GateMDBFieldDecoder.hh:17:0,
                 from
/opt/gate_v6.2/source/geometry/include/GateMDBFieldReader.hh:19,
                 from
/opt/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:19:
/opt/gate_v6.2/source/digits_hits/include/GateMaps.hh: In
instantiation of 'GateMap<Tkey, Tvalue>::GateMap(size_t, GateMap<Tkey,
Tvalue>**) [with Tkey = G4String; Tvalue = int; size_t = long unsigned
int]':
/opt/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:207:85:
required from here
/opt/gate_v6.2/source/digits_hits/include/GateMaps.hh:120:7: error:
'insert' was not declared in this scope, and no declarations were
found by argument-dependent lookup at the point of instantiation
[-fpermissive]
/opt/gate_v6.2/source/digits_hits/include/GateMaps.hh:120:7: note:
declarations in dependent base 'std::map<G4String, int,
std::less<G4String>, std::allocator<std::pair<const G4String, int> >
>' are not found by unqualified lookup
/opt/gate_v6.2/source/digits_hits/include/GateMaps.hh:120:7: note: use
'this->insert' instead
In file included from
/opt/geant4.9.5.p01-install/include/Geant4/G4PhysicalConstants.hh:27:0,
                 from /opt/geant4.9.5.p01-install/include/Geant4/globals.hh:71,
                 from
/opt/gate_v6.2/source/geometry/include/GateMDBFieldReader.hh:15,
                 from
/opt/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:19:
/opt/CLHEP_2_1_1_0/CLHEP/include/CLHEP/Units/PhysicalConstants.h:80:21:
warning: 'CLHEP::electron_charge' defined but not used
[-Wunused-variable]
make[2]: *** [CMakeFiles/Gate.dir/source/geometry/src/GateMDBFieldReader.cc.o]
Błąd 1
make[1]: *** [CMakeFiles/Gate.dir/all] Błąd 2
make: *** [all] Błąd 2


More information about the Gate-users mailing list