[Gate-users] error in CLHEP installation
STRYDHORST Jared
Jared.STRYDHORST at cea.fr
Fri Mar 11 22:41:57 CET 2016
"C++11 extension not available" probably means the compiler at /usr/bin/c++ is too old. With the Gnu compiler I think you need at least 4.7 to support C++11. (That's off the top of my head. That may not be the exact version.)
Jared STRYDHORST
Laboratoire Imagerie Moléculaire In Vivo (IMIV)
UMR 1023 Inserm/CEA/Université Paris Sud - ERL 9218 CNRS
CEA/I2BM/Service Hospitalier Frédéric Joliot
4, place du Général Leclerc
91401 ORSAY Cedex
http://i2bm.cea.fr/dsv/i2bm/shfj/imiv
________________________________________
De : gate-users-bounces at lists.opengatecollaboration.org [gate-users-bounces at lists.opengatecollaboration.org] de la part de Maryam Fallahpoor [maryam.fallahpoor at yahoo.com]
Envoyé : vendredi 11 mars 2016 18:43
À : gate-users-request at lists.opengatecollaboration.org; gate-users at lists.opengatecollaboration.org
Objet : [Gate-users] error in CLHEP installation
Hi,
I'm trying to install Gate7.2, but in CLHEP 2.3.1.1 installation after typing "cmake -DCMAKE_INSTALL_PREFIX=/PATH_TO/2.3.1.1-install /PATH_TO/2.3.1.1/CLHEP/" with appropriate path, this error occurs:
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- libraries will be installed in /.../2.3.1.1-install/lib
-- cmake build type is RelWithDebInfo
CMake Error at cmake/Modules/ClhepVariables.cmake:123 (message):
c++11 extension is not available for /usr/bin/c++
Call Stack (most recent call first):
cmake/Modules/ClhepVariables.cmake:204 (_clhep_verify_cxx11)
cmake/Modules/ClhepVariables.cmake:255 (_clhep_check_cxxstd)
CMakeLists.txt:85 (clhep_set_compiler_flags)
-- Configuring incomplete, errors occurred!
i try to install this version, both in ubuntu and fedora but the error is the same.
is there anyone to help me solve this problem?
thanks in advance.
Maryam Fallahpoor
E-mail: maryam.fallahpoor at yahoo.com
Tel: +989124604898
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
More information about the Gate-users
mailing list