How to compile ETHminer on Ubuntu 14.04


sudo -s
wget -O - | sudo apt-key add -
add-apt-repository "deb llvm-toolchain-trusty main"
add-apt-repository ppa:george-edison55/cmake-3.x
add-apt-repository -y ppa:ethereum/ethereum-qt
add-apt-repository -y ppa:ethereum/ethereum
add-apt-repository -y ppa:ethereum/ethereum-dev
apt-get -y update
apt-get -y upgrade
apt-get -y install cpp-ethereum screen build-essential git cmake llvm-3.8-dev opencl-headers libboost-all-dev libgmp-dev libleveldb-dev libminiupnpc-dev libreadline-dev libncurses5-dev libcurl4-openssl-dev libcryptopp-dev libjson-rpc-cpp-dev libmicrohttpd-dev libjsoncpp-dev libargtable2-dev libedit-dev mesa-common-dev ocl-icd-libopencl1 opencl-headers libgoogle-perftools-dev qtbase5-dev qt5-default qtdeclarative5-dev libqt5webkit5-dev libqt5webengine5-dev ocl-icd-dev libv8-dev libz-dev

//If you meet an error with libcryptopp-dev run :
dpkg -i --force-overwrite /var/cache/apt/archives/libcryptopp-dev_5.6.2-0~trusty6_amd64.deb

git clone
cd cpp-ethereum
nano cmake/EthCompilerSettings.cmake
# remove "-Werror" around line 5 then save the file
cmake -DBUNDLE=cudaminer
make -j<quantity of CPU thread you want to use while compiling>
sudo -s
cd cpp-ethereum/ethminer/

Your launch line will look like this :
./ethminer -U -F <pool> –cuda-devices <devices>

You may also like...

Leave a Reply

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