Install ccminer alexis78 fork Ubuntu 16.04
This guide will teach you how to install ccminer alexis78 on Ubuntu 16.04
You must first run Install NVIDIA Driver and CUDA on Ubuntu 16.04 before proceeding.
mkdir alexis78 cd alexis78 git clone https://github.com/alexis78/ccminer.git cd ccminer/ export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib export PATH=$PATH:/usr/local/cuda-8.0/bin ./autogen.sh ./configure make echo "Finished" exit
car
it doesn’t work, I get those errors:
ccminer.cpp:45:26: fatal error: cuda_runtime.h: No such file or directory
compilation terminated.
Makefile:1375: recipe for target ‘ccminer-ccminer.o’ failed
make[2]: *** [ccminer-ccminer.o] Error 1
make[2]: *** Waiting for unfinished jobs….
mv -f .deps/ccminer-bench.Tpo .deps/ccminer-bench.Po
mv -f .deps/ccminer-pools.Tpo .deps/ccminer-pools.Po
In file included from bignum.cpp:8:0:
bignum.hpp:63:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
class CBigNum : public BIGNUM
^
In file included from /usr/local/include/openssl/bn.h:32:0,
from bignum.hpp:20,
from bignum.cpp:8:
/usr/local/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
typedef struct bignum_st BIGNUM;
^
In file included from bignum.cpp:8:0:
bignum.hpp: In constructor ‘CBigNum::CBigNum()’:
bignum.hpp:68:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
bignum.hpp: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
bignum.hpp:73:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
bignum.hpp:74:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
if (!BN_copy(this, &b))
^
bignum.hpp:76:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
bignum.hpp: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
bignum.hpp:83:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
if (!BN_copy(this, &b))
^
bignum.hpp: In destructor ‘CBigNum::~CBigNum()’:
bignum.hpp:90:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
bignum.hpp: In constructor ‘CBigNum::CBigNum(signed char)’:
bignum.hpp:94:47: error: ‘BN_init’ was not declared in this scope
CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^
admin
You can access a pre-built version of this file in the Miner Store > Mining Software
Alexand
you have to check version of cuda
or run ./configure –with-cuda=/usr/local/cuda-{version}
Fred
Not working. Mine is pointing to cuda 8.0