fireice-uk / xmr-stak-nvidia

Monero NVIDIA miner
GNU General Public License v3.0
249 stars 99 forks source link

Compile help for GTX 750 TI #177

Open greentheo opened 6 years ago

greentheo commented 6 years ago

I'm trying to compile on Ubuntu 16.04, GTX 750TI, and:

~/github/xmr-stak-nvidia⟫ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17

with

CUDA Version 8.0.61

using

make install

and I'm getting the error:

[  4%] Building CXX object CMakeFiles/xmr-stak-nvidiaCuda.dir/nvcc_code/cuda_extra.cu.o
c++: error: unrecognized command line option ‘--cuda-path=/usr’
c++: error: unrecognized command line option ‘--cuda-gpu-arch=sm_50’
CMakeFiles/xmr-stak-nvidiaCuda.dir/build.make:62: recipe for target 'CMakeFiles/xmr-stak-nvidiaCuda.dir/nvcc_code/cuda_extra.cu.o' failed
make[2]: *** [CMakeFiles/xmr-stak-nvidiaCuda.dir/nvcc_code/cuda_extra.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/xmr-stak-nvidiaCuda.dir/all' failed
make[1]: *** [CMakeFiles/xmr-stak-nvidiaCuda.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Any ideas? I probably need to move down to CUDA 7.5... but if anyone has any better ideas..

psychocrypt commented 6 years ago

please see the readme.md and add the cmake flag to compile the device code with clang.

psychocrypt commented 6 years ago

We released a new version of the miner: https://github.com/fireice-uk/xmr-stak Please check if the issue still exists with the new version. If the problem is not fixed so far please open a new issue in the issue section of the new reposetory