I'm having problems compiling nheqminer from the latest git for CUDA_TROMP on Mint 17 (Ubuntu 14.04).
First the COMPUTE= option does not appear to work. I had to edit the config to remove references to compute_61
which is unsupported on my system (Cuda 7.5).
After that I get this...
[ 5%] Building NVCC (Device) object CMakeFiles/nheqminer_cuda_tromp.dir/__/__/cuda_tromp/nheqminer_cuda_tromp_generated_equi_miner.cu.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: identifier "nullptr" is undefined
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: expected a ";"
/usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h(190): error: expected a ";"
/usr/include/c++/4.8/exception(63): error: expected a ";"
/usr/include/c++/4.8/exception(68): error: expected a ";"
/usr/include/c++/4.8/exception(76): error: expected a ";"
It appears to be an issue with nvcc and gcc 4.8 similar to this...
https://devtalk.nvidia.com/default/topic/745106/nvcc-c-11-standard-in-cuda-frontend-dependencies-gcc-windows-vs-linux-/Is there a simple fix or workaround?
The readme is wrong about the compute parameter it should be -DCOMPUTE=21 for sm21 for example. Will update readme. Also currently the cmake files are scattered into different cmake files for different builds (main reason for this is it was easier since Linux got very unstable with NVIDIA and AMD drivers/SDKs), but in the near future it will be merged.
So Ubuntu 14.04 (Mint 17), gcc 4.8 and CUDA 7.5 are giving errors. I will check this and also make updates to the cmake files since many people are getting errors.