Open Grinnz opened 10 years ago
For searchability, the error this causes is below:
/usr/local/cuda-5.5/bin/nvcc -g -O2 -Xptxas "-abi=no -v" -arch=compute_10 --maxrregcount=64 --ptxas-options=-v -I./compat/jansson -o salsa_kernel.o -c salsa_kernel.cu
In file included from
^
I did the same modification to Makefile.am instead of the generated makefile, and it successfully configured and built.
For future reference this can be solved by setting the symbolic link to /usr/local/cuda:
ln -s /usr/local/cuda-8.0 /usr/local/cuda
I am getting an error in Fedora 20 x86_64 when I try to compile the latest cudaminer or ccminer releases. It cannot find header files in the cuda includes directory (/usr/local/cuda/include, in my case). I work around it by editing the Makefile created by ./configure and adding $(CUDA_CFLAGS) to every nvcc line near the end of the file; this variable is set to "CUDA_CFLAGS = -I/usr/local/cuda/include" earlier in the Makefile but is never used. I don't know enough about autogen to suggest how to fix this in the makefile generation.