[Gate-users] Error in gate_v6.2 installation

刘红波 liuhongbo02 at 163.com
Thu May 9 11:44:53 CEST 2013


 Hi,everyone

I am trying to install the new gate_v6.2 on Ubuntu 13.04
 But i have encountered the following error when trying to compile the gate
make -j4

the following error appeared:
 
[  2%] Built target itkzlib
[  7%] Built target ITKMetaIO
[  8%] [  8%] [  8%] [  8%] Building CXX object CMakeFiles/Gate.dir/source/geometry/src/GateDMapreadlongvol.cc.o
Building CXX object CMakeFiles/Gate.dir/source/geometry/src/GateMDBFieldReader.cc.o
Building CXX object CMakeFiles/Gate.dir/source/geometry/src/GateArrayRepeater.cc.o
Building CXX object CMakeFiles/Gate.dir/source/geometry/src/GateSystemComponentList.cc.o
[  8%] Building CXX object CMakeFiles/Gate.dir/source/geometry/src/GateObjectMoveListMessenger.cc.o
In file included from /home/liuhongbo/Gate/gate_v6.2/source/geometry/include/GateMDBFieldDecoder.hh:17:0,
                 from /home/liuhongbo/Gate/gate_v6.2/source/geometry/include/GateMDBFieldReader.hh:19,
                 from /home/liuhongbo/Gate/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:19:
/home/liuhongbo/Gate/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]':
/home/liuhongbo/Gate/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:207:99:   required from here
/home/liuhongbo/Gate/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]
/home/liuhongbo/Gate/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
/home/liuhongbo/Gate/gate_v6.2/source/digits_hits/include/GateMaps.hh:120:7: note: use 'this->insert' instead
In file included from /home/liuhongbo/Gate/geant4-install/include/Geant4/G4PhysicalConstants.hh:27:0,
                 from /home/liuhongbo/Gate/geant4-install/include/Geant4/globals.hh:71,
                 from /home/liuhongbo/Gate/gate_v6.2/source/geometry/include/GateMDBFieldReader.hh:15,
                 from /home/liuhongbo/Gate/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:19:
/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] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
make: *** [all] Error 2

Any help would be greatly appreciated.
regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130509/1e2e8687/attachment.html>


More information about the Gate-users mailing list