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
Hello Guys I'm having some trouble compiling the program
I'm using Ubuntu 17.10 with CUDA 9
) -- Configuring done -- Generating done -- Build files have been written to: /home/florian/xmr-stak-nvidia/build root@florian-desktop:/home/florian/xmr-stak-nvidia/build# make install Scanning dependencies of target xmr-stak-nvidiaCrypto [ 4%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_blake256.c.o [ 9%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_groestl.c.o [ 14%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_jh.c.o [ 19%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_keccak.c.o [ 23%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_skein.c.o [ 28%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/soft_aes.c.o [ 33%] Linking C static library libxmr-stak-nvidiaCrypto.a [ 33%] Built target xmr-stak-nvidiaCrypto [ 38%] Building NVCC (Device) object CMakeFiles/xmr-stak-nvidiaCuda.dir/nvcc_code/xmr-stak-nvidiaCuda_generated_cuda_extra.cu.o nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [ 42%] Building NVCC (Device) object CMakeFiles/xmr-stak-nvidiaCuda.dir/nvcc_code/xmr-stak-nvidiaCuda_generated_cuda_core.cu.o nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). Scanning dependencies of target xmr-stak-nvidiaCuda [ 47%] Linking CXX static library libxmr-stak-nvidiaCuda.a [ 47%] Built target xmr-stak-nvidiaCuda Scanning dependencies of target xmr-stak-nvidia [ 52%] Building CXX object CMakeFiles/xmr-stak-nvidia.dir/cli-miner.cpp.o In file included from /home/florian/xmr-stak-nvidia/cli-miner.cpp:24:0: /home/florian/xmr-stak-nvidia/autoAdjust.hpp: In constructor ‘autoAdjust::autoAdjust()’: /home/florian/xmr-stak-nvidia/autoAdjust.hpp:22:13**: error: ‘exit’ is not a member of ‘std’** std::exit(0); ^ /home/florian/xmr-stak-nvidia/autoAdjust.hpp:22:13: note: suggested alternative: In file included from /home/florian/xmr-stak-nvidia/jconf.h:2:0, from /home/florian/xmr-stak-nvidia/autoAdjust.hpp:7, from /home/florian/xmr-stak-nvidia/cli-miner.cpp:24: /usr/include/stdlib.h:499:13: note: ‘exit’ extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ In file included from /home/florian/xmr-stak-nvidia/cli-miner.cpp:24:0: /home/florian/xmr-stak-nvidia/autoAdjust.hpp: In member function ‘void autoAdjust::printConfig()’: /home/florian/xmr-stak-nvidia/autoAdjust.hpp:68:17: error: ‘exit’ is not a member of ‘std’ std::exit(0); ^ /home/florian/xmr-stak-nvidia/autoAdjust.hpp:68:17: note: suggested alternative: In file included from /home/florian/xmr-stak-nvidia/jconf.h:2:0, from /home/florian/xmr-stak-nvidia/autoAdjust.hpp:7, from /home/florian/xmr-stak-nvidia/cli-miner.cpp:24: /usr/include/stdlib.h:499:13: note: ‘exit’ extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ CMakeFiles/xmr-stak-nvidia.dir/build.make:62: recipe for target 'CMakeFiles/xmr-stak-nvidia.dir/cli-miner.cpp.o' failed make[2]: *** [CMakeFiles/xmr-stak-nvidia.dir/cli-miner.cpp.o] Error 1 CMakeFiles/Makefile2:142: recipe for target 'CMakeFiles/xmr-stak-nvidia.dir/all' failed make[1]: *** [CMakeFiles/xmr-stak-nvidia.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Hello Guys I'm having some trouble compiling the program
I'm using Ubuntu 17.10 with CUDA 9
) -- Configuring done -- Generating done -- Build files have been written to: /home/florian/xmr-stak-nvidia/build root@florian-desktop:/home/florian/xmr-stak-nvidia/build# make install Scanning dependencies of target xmr-stak-nvidiaCrypto [ 4%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_blake256.c.o [ 9%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_groestl.c.o [ 14%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_jh.c.o [ 19%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_keccak.c.o [ 23%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/c_skein.c.o [ 28%] Building C object CMakeFiles/xmr-stak-nvidiaCrypto.dir/crypto/soft_aes.c.o [ 33%] Linking C static library libxmr-stak-nvidiaCrypto.a [ 33%] Built target xmr-stak-nvidiaCrypto [ 38%] Building NVCC (Device) object CMakeFiles/xmr-stak-nvidiaCuda.dir/nvcc_code/xmr-stak-nvidiaCuda_generated_cuda_extra.cu.o nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [ 42%] Building NVCC (Device) object CMakeFiles/xmr-stak-nvidiaCuda.dir/nvcc_code/xmr-stak-nvidiaCuda_generated_cuda_core.cu.o nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). Scanning dependencies of target xmr-stak-nvidiaCuda [ 47%] Linking CXX static library libxmr-stak-nvidiaCuda.a [ 47%] Built target xmr-stak-nvidiaCuda Scanning dependencies of target xmr-stak-nvidia [ 52%] Building CXX object CMakeFiles/xmr-stak-nvidia.dir/cli-miner.cpp.o In file included from /home/florian/xmr-stak-nvidia/cli-miner.cpp:24:0: /home/florian/xmr-stak-nvidia/autoAdjust.hpp: In constructor ‘autoAdjust::autoAdjust()’: /home/florian/xmr-stak-nvidia/autoAdjust.hpp:22:13**: error: ‘exit’ is not a member of ‘std’** std::exit(0); ^ /home/florian/xmr-stak-nvidia/autoAdjust.hpp:22:13: note: suggested alternative: In file included from /home/florian/xmr-stak-nvidia/jconf.h:2:0, from /home/florian/xmr-stak-nvidia/autoAdjust.hpp:7, from /home/florian/xmr-stak-nvidia/cli-miner.cpp:24: /usr/include/stdlib.h:499:13: note: ‘exit’ extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ In file included from /home/florian/xmr-stak-nvidia/cli-miner.cpp:24:0: /home/florian/xmr-stak-nvidia/autoAdjust.hpp: In member function ‘void autoAdjust::printConfig()’: /home/florian/xmr-stak-nvidia/autoAdjust.hpp:68:17: error: ‘exit’ is not a member of ‘std’ std::exit(0); ^ /home/florian/xmr-stak-nvidia/autoAdjust.hpp:68:17: note: suggested alternative: In file included from /home/florian/xmr-stak-nvidia/jconf.h:2:0, from /home/florian/xmr-stak-nvidia/autoAdjust.hpp:7, from /home/florian/xmr-stak-nvidia/cli-miner.cpp:24: /usr/include/stdlib.h:499:13: note: ‘exit’ extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ CMakeFiles/xmr-stak-nvidia.dir/build.make:62: recipe for target 'CMakeFiles/xmr-stak-nvidia.dir/cli-miner.cpp.o' failed make[2]: *** [CMakeFiles/xmr-stak-nvidia.dir/cli-miner.cpp.o] Error 1 CMakeFiles/Makefile2:142: recipe for target 'CMakeFiles/xmr-stak-nvidia.dir/all' failed make[1]: *** [CMakeFiles/xmr-stak-nvidia.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: