Add ccminer-Xevan to nvOC

full kudos to damNmad for this one!

Get the image file from the sourcecode location

unzip #you can rename or set location to ccminer-Xevan if you want
cd master
sudo bash

There can be 2 issues:

1. a fatal error -> ccminer.cpp:45:26: fatal error : cuda_runtime.h : no such file or directory
the fix is listed here
go to the directory where you unzipped to and do

sudo nano

Change the last line to (or only change parameter –with-cuda and remove the 7.5) :

CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall -D_FORCE_INLINES" ./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda

thanks to computerGenie and jayneL for this

2. bignum.hpp:491:47: error: cannot convert ‘CBigNum’ to ‘BIGNUM’
You will need to change the ssl version.

tar -xvzf openssl-1.0.1e.tar.gz
cp /usr/local/include/openssl/bn.h bn.h.backup
sudo cp openssl-1.0.1e/crypto/bn/bn.h /usr/local/include/openssl/

Now go to the xevan folder and do ./

IMPORTANT: you need to replace the new SSL with the old one again!!

cd /usr/local/include/openssl/
 sudo rm bn.h
 sudo cp bn.h.bkp bn.h

!Thanks to damNmad for this fix!

Leave a Reply

Your email address will not be published. Required fields are marked *

Powered by: Wordpress
%d bloggers like this: