[Gate-users] error in CLHEP installation

Thielemans, Kris k.thielemans at ucl.ac.uk
Fri Mar 11 23:05:59 CET 2016

Looks like you need a more recent compiler than your default system one. Install that, remove your current build, and relaunch cmake with appropriate settings


-----Original Message-----
From: gate-users-bounces at lists.opengatecollaboration.org [mailto:gate-users-bounces at lists.opengatecollaboration.org] On Behalf Of Maryam Fallahpoor
Sent: 11 March 2016 17:44
To: gate-users-request at lists.opengatecollaboration.org; gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] error in CLHEP installation

I'm trying to install Gate7.2, but in CLHEP installation after typing "cmake -DCMAKE_INSTALL_PREFIX=/PATH_TO/ /PATH_TO/" 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 /.../
-- 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

More information about the Gate-users mailing list