Post
Topic
Board Mining (Altcoins)
Re: [ANN] cudaMiner & ccMiner CUDA based mining applications [Windows/Linux/MacOSX]
by
TheHypnoToad
on 08/12/2017, 17:44:54 UTC
Hello I'm trying to build ccminer on ubuntu 16.02 and it won't build:

This is the error I get:

Code:
make[3]: Leaving directory '/home/prospector/tpruvot/ccminer/compat'
make[2]: Leaving directory '/home/prospector/tpruvot/ccminer/compat'
make[2]: Entering directory '/home/prospector/tpruvot/ccminer'
gcc -DHAVE_CONFIG_H -I.  -fopenmp  -pthread -fno-strict-aliasing -I./compat/jansson -I/usr/local/cuda/include -DUSE_WRAPNVML    -g -O2 -MT ccminer-crc32.o -MD -MP -MF .deps/ccminer-crc32.Tpo -c -o ccminer-crc32.o `test -f 'crc32.c' || echo './'`crc32.c
gcc -DHAVE_CONFIG_H -I.  -fopenmp  -pthread -fno-strict-aliasing -I./compat/jansson -I/usr/local/cuda/include -DUSE_WRAPNVML    -g -O2 -MT ccminer-hefty1.o -MD -MP -MF .deps/ccminer-hefty1.Tpo -c -o ccminer-hefty1.o `test -f 'hefty1.c' || echo './'`hefty1.c
g++ -DHAVE_CONFIG_H -I.  -fopenmp  -pthread -fno-strict-aliasing -I./compat/jansson -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-ccminer.o -MD -MP -MF .deps/ccminer-ccminer.Tpo -c -o ccminer-ccminer.o `test -f 'ccminer.cpp' || echo './'`ccminer.cpp
g++ -DHAVE_CONFIG_H -I.  -fopenmp  -pthread -fno-strict-aliasing -I./compat/jansson -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-pools.o -MD -MP -MF .deps/ccminer-pools.Tpo -c -o ccminer-pools.o `test -f 'pools.cpp' || echo './'`pools.cpp
mv -f .deps/ccminer-crc32.Tpo .deps/ccminer-crc32.Po
g++ -DHAVE_CONFIG_H -I.  -fopenmp  -pthread -fno-strict-aliasing -I./compat/jansson -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-util.o -MD -MP -MF .deps/ccminer-util.Tpo -c -o ccminer-util.o `test -f 'util.cpp' || echo './'`util.cpp
ccminer.cpp:49:26: fatal error: cuda_runtime.h: No such file or directory
compilation terminated.
Makefile:1775: recipe for target 'ccminer-ccminer.o' failed
make[2]: *** [ccminer-ccminer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/ccminer-pools.Tpo .deps/ccminer-pools.Po
mv -f .deps/ccminer-hefty1.Tpo .deps/ccminer-hefty1.Po
mv -f .deps/ccminer-util.Tpo .deps/ccminer-util.Po
make[2]: Leaving directory '/home/prospector/tpruvot/ccminer'
Makefile:2201: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/prospector/tpruvot/ccminer'
Makefile:654: recipe for target 'all' failed
make: *** [all] Error 2

I have Cuda 8 already installed, help please

EDIT I searched for cuda_runtime.h and it is in

/usr/local/cuda-8.0/targets/x86_64-linux/include/cuda_runtime.h

Code:
stat /usr/local/cuda-8.0/targets/x86_64-linux/include/cuda_runtime.h
  File: '/usr/local/cuda-8.0/targets/x86_64-linux/include/cuda_runtime.h'
  Size: 84245           Blocks: 168        IO Block: 4096   regular file
Device: fd00h/64768d    Inode: 43953       Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2017-07-05 19:11:45.069047189 +0100
Modify: 2017-01-26 23:48:33.000000000 +0000
Change: 2017-07-05 19:05:48.496727332 +0100
 Birth: -