cmake ../nheqminer
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/local/gcc-4.7.2/bin/gcc
-- Check for working C compiler: /usr/local/gcc-4.7.2/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/gcc-4.7.2/bin/g++
-- Check for working CXX compiler: /usr/local/gcc-4.7.2/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- USE_CPU_XENONCAT DEFINED
-- USE_CUDA_DJEZO DEFINED
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- system
-- log_setup
-- log
-- date_time
-- filesystem
-- thread
-- regex
-- chrono
-- atomic
-- CXXFLAGS: -std=c++11 -m64 -msse2
-- LIBS: /usr/local/boost/stage/lib/libboost_system.a;/usr/local/boost/stage/lib/libboost_log_setup.a;/usr/local/boost/stage/lib/libboost_log.a;/usr/local/boost/stage/lib/libboost_date_time.a;/usr/local/boost/stage/lib/libboost_filesystem.a;/usr/local/boost/stage/lib/libboost_thread.a;/usr/local/boost/stage/lib/libboost_regex.a;/usr/local/boost/stage/lib/libboost_chrono.a;/usr/local/boost/stage/lib/libboost_atomic.a
-- Found CUDA: /usr/local/cuda-8.0 (found version "8.0")
CUDA FOUND
-- CUDA_NVCC_FLAGS: -gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60
-- Configuring done
-- Generating done
-- Build files have been written to: /root/my/build
make -j $(nproc)
[ 4%] Building NVCC (Device) object cuda_djezo/CMakeFiles/cuda_djezo.dir/cuda_djezo_generated_equi_miner.cu.o
Scanning dependencies of target cpu_xenoncat
[ 9%] Building CXX object cpu_xenoncat/CMakeFiles/cpu_xenoncat.dir/xenoncat.cpp.o
[ 13%] Linking CXX static library libcpu_xenoncat.a
[ 13%] Built target cpu_xenoncat
Scanning dependencies of target cuda_djezo
[ 18%] Building CXX object cuda_djezo/CMakeFiles/cuda_djezo.dir/cuda_djezo.cpp.o
/root/my/nheqminer/cuda_djezo/cuda_djezo.cpp: In constructor ‘cuda_djezo::cuda_djezo(int, int)’:
/root/my/nheqminer/cuda_djezo/cuda_djezo.cpp:29:10: error: ‘runtime_error’ is not a member of ‘std’
/root/my/nheqminer/cuda_djezo/cuda_djezo.cpp:37:9: error: ‘runtime_error’ is not a member of ‘std’
/root/my/nheqminer/cuda_djezo/cuda_djezo.cpp: In static member function ‘static int cuda_djezo::getcount()’:
/root/my/nheqminer/cuda_djezo/cuda_djezo.cpp:50:2: error: ‘runtime_error’ is not a member of ‘std’
/root/my/nheqminer/cuda_djezo/cuda_djezo.cpp: In static member function ‘static void cuda_djezo::getinfo(int, int, std::string&, int&, std::string&)’:
/root/my/nheqminer/cuda_djezo/cuda_djezo.cpp:61:2: error: ‘runtime_error’ is not a member of ‘std’
make[2]: [cuda_djezo/CMakeFiles/cuda_djezo.dir/cuda_djezo.cpp.o] Error 1
make[1]: [cuda_djezo/CMakeFiles/cuda_djezo.dir/all] Error 2
make: *** [all] Error 2
Can`t finish compilation:
cmake ../nheqminer -- The C compiler identification is GNU 4.7.2 -- The CXX compiler identification is GNU 4.7.2 -- Check for working C compiler: /usr/local/gcc-4.7.2/bin/gcc -- Check for working C compiler: /usr/local/gcc-4.7.2/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/gcc-4.7.2/bin/g++ -- Check for working CXX compiler: /usr/local/gcc-4.7.2/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- USE_CPU_XENONCAT DEFINED -- USE_CUDA_DJEZO DEFINED -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.62.0 -- Found the following Boost libraries: -- system -- log_setup -- log -- date_time -- filesystem -- thread -- regex -- chrono -- atomic -- CXXFLAGS: -std=c++11 -m64 -msse2 -- LIBS: /usr/local/boost/stage/lib/libboost_system.a;/usr/local/boost/stage/lib/libboost_log_setup.a;/usr/local/boost/stage/lib/libboost_log.a;/usr/local/boost/stage/lib/libboost_date_time.a;/usr/local/boost/stage/lib/libboost_filesystem.a;/usr/local/boost/stage/lib/libboost_thread.a;/usr/local/boost/stage/lib/libboost_regex.a;/usr/local/boost/stage/lib/libboost_chrono.a;/usr/local/boost/stage/lib/libboost_atomic.a -- Found CUDA: /usr/local/cuda-8.0 (found version "8.0") CUDA FOUND -- CUDA_NVCC_FLAGS: -gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60 -- Configuring done -- Generating done -- Build files have been written to: /root/my/build
make -j $(nproc) [ 4%] Building NVCC (Device) object cuda_djezo/CMakeFiles/cuda_djezo.dir/cuda_djezo_generated_equi_miner.cu.o Scanning dependencies of target cpu_xenoncat [ 9%] Building CXX object cpu_xenoncat/CMakeFiles/cpu_xenoncat.dir/xenoncat.cpp.o [ 13%] Linking CXX static library libcpu_xenoncat.a [ 13%] Built target cpu_xenoncat Scanning dependencies of target cuda_djezo [ 18%] Building CXX object cuda_djezo/CMakeFiles/cuda_djezo.dir/cuda_djezo.cpp.o /root/my/nheqminer/cuda_djezo/cuda_djezo.cpp: In constructor ‘cuda_djezo::cuda_djezo(int, int)’: /root/my/nheqminer/cuda_djezo/cuda_djezo.cpp:29:10: error: ‘runtime_error’ is not a member of ‘std’ /root/my/nheqminer/cuda_djezo/cuda_djezo.cpp:37:9: error: ‘runtime_error’ is not a member of ‘std’ /root/my/nheqminer/cuda_djezo/cuda_djezo.cpp: In static member function ‘static int cuda_djezo::getcount()’: /root/my/nheqminer/cuda_djezo/cuda_djezo.cpp:50:2: error: ‘runtime_error’ is not a member of ‘std’ /root/my/nheqminer/cuda_djezo/cuda_djezo.cpp: In static member function ‘static void cuda_djezo::getinfo(int, int, std::string&, int&, std::string&)’: /root/my/nheqminer/cuda_djezo/cuda_djezo.cpp:61:2: error: ‘runtime_error’ is not a member of ‘std’ make[2]: [cuda_djezo/CMakeFiles/cuda_djezo.dir/cuda_djezo.cpp.o] Error 1 make[1]: [cuda_djezo/CMakeFiles/cuda_djezo.dir/all] Error 2 make: *** [all] Error 2