[Gate-users] GATE installation problem - gcc compiler options
Hermann Fuchs
hermann.fuchs at meduniwien.ac.at
Thu Jan 8 06:44:32 CET 2015
Hi Martin,
this is due to an incompatibility with the newest root version.
Try using an older root version such as version 5.34.
Cheers,
Hermann
Am 8. Januar 2015 00:32:34 MEZ, schrieb "Martin Vallières" <martin.carrier-vallieres at mail.mcgill.ca>:
>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
>_______________________________________________
>Gate-users mailing list
>Gate-users at lists.opengatecollaboration.org
>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150108/ba886b0a/attachment.html>
More information about the Gate-users
mailing list