I seem to not be able to compile it on Debian 9 Linux. I followed the instructions on the Nicehash website and most of it works, except for the make. It goes for awhile but it eventually failed with an error.
P.S. i had to modify the makefile slightly to use clang compiler as it couldn't find any other.
lookslike there's a compatibility issue btween nvcc & clang, i've compiled with gcc without problem, try gcc.
It compiles with neither gcc nor clang on Ubuntu 16.04 (nvOC).