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

Martin Vallières martin.carrier-vallieres at mail.mcgill.ca
Thu Jan 8 09:19:55 CET 2015


Hi Hermann,

Thank you very much for your reply. Using root version 5.34 solved the 
problem!

For the record, the following installation was successful on Ubuntu 
14.04 with gcc v4.8.2:
- root v5.34.24
- geant4 v4.9.6.p03
- gate v7.0

Cheers,
Martin

On 15-01-08 12:44 AM, Hermann Fuchs wrote:
> 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  <http://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
>

-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150108/1d9f3a0b/attachment.html>


More information about the Gate-users mailing list