[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
https://cmake.org/Wiki/CMake_FAQ#How_do_I_use_a_different_compiler.3F
-----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
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