[Gate-users] GATE installation problem - gcc compiler options

Martin Vallières martin.carrier-vallieres at mail.mcgill.ca
Thu Jan 8 00:32:34 CET 2015


Dear GATE users,

I am trying to installl GATE v7.0 on my computer with Ubuntu 14.04 and 
gcc version 4.8.2. I have successfully installed root v6.02.02 and 
geant4 v10.01.

During the compilation of GATE, I get the following error:

"[  6%] Building CXX object CMakeFiles/Gate.dir/Gate.cc.o
In file included from /usr/include/c++/4.8/atomic:38:0,
                  from 
/home/martin/Programs/PET_SIM/root-6.02.02/include/Rtypes.h:37,
                  from 
/home/martin/Programs/PET_SIM/root-6.02.02/include/TObject.h:31,
                  from 
/home/martin/Programs/PET_SIM/root-6.02.02/include/TNamed.h:26,
                  from 
/home/martin/Programs/PET_SIM/root-6.02.02/include/TDirectory.h:25,
                  from 
/home/martin/Programs/PET_SIM/root-6.02.02/include/TROOT.h:29,
                  from 
/home/martin/Programs/PET_SIM/gate_v7.0/source/physics/include/GateSourcePhaseSpace.hh:14,
                  from 
/home/martin/Programs/PET_SIM/gate_v7.0/source/physics/include/GateSourceMgr.hh:18,
                  from /home/martin/Programs/PET_SIM/gate_v7.0/Gate.cc:30:
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file 
requires compiler and library support for the ISO C++ 2011 standard. 
This support is currently experimental, and must be enabled with the 
-std=c++11 or -std=gnu++11 compiler options."

Does anyone know how to solve this problem? Where can I enable those 
compiler flags (-std=c++11 or -std=gnu++11)?


Thank you so much for you help,
Martin


More information about the Gate-users mailing list