You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build is failing on RHEL7 with cmake=2.8.12.2 and gcc=4.8.2
runninginstallrunningbdist_eggrunningegg_infowritingsrc/tda.egg-info/PKG-INFOwritingdependency_linkstosrc/tda.egg-info/dependency_links.txtwritingtop-levelnamestosrc/tda.egg-info/top_level.txtreadingmanifestfile'src/tda.egg-info/SOURCES.txt'writingmanifestfile'src/tda.egg-info/SOURCES.txt'installinglibrarycodetobuild/bdist.linux-x86_64/eggrunninginstall_librunningbuild_ext--pybind11v2.2.3--Configuringdone--Generatingdone--Buildfileshavebeenwrittento: /network/rit/lab/schiraldilab/bin/TDA/build/temp.linux-x86_64-3.6
[ 8%] [ 8%] BuildingCXXobjectCMakeFiles/tda.dir/algorithms/CubicalRipser_2dim/src/dense_cubical_grids.cpp.oBuildingCXXobjectCMakeFiles/tda.dir/algorithms/CubicalRipser_2dim/src/cubicalripser_2dim.cpp.oInfileincludedfrom/usr/include/c++/4.8.2/unordered_map:35:0,
from/network/rit/lab/schiraldilab/bin/TDA/algorithms/CubicalRipser_2dim/src/cubicalripser_2dim.cpp:31:
/usr/include/c++/4.8.2/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.#error This file requires compiler and library support for the \
To fix, added following to CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
set(CMAKE_CXX_FLAGS "-fpermissive")
if (CMAKE_VERSION VERSION_LESS "3.1")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif ()
else ()
set (CMAKE_CXX_STANDARD 11)
endif ()
The text was updated successfully, but these errors were encountered:
Build is failing on RHEL7 with cmake=2.8.12.2 and gcc=4.8.2
To fix, added following to CMakeLists.txt:
The text was updated successfully, but these errors were encountered: