So yesterday I managed to compile genoil's miner for the first time on manjaro linux (arch based), after a very long time of struggles. I did it on a test virtualbox installation. Today I tried to install it on a real computer, but had no luck, following the same instructions I used before. I tried again on virtualbox and again no luck, the same error appeared. I am totally clueless now to what's going on or what exactly I did to make it work (I deleted the old virtualbox drive).
This is the error I get
http://pastebin.com/cKx10qbbI use these command to get it installed:
sudo pacman -Syyu
sudo pacman -S cmake boost yaourt screen crypto++ leveldb miniupnpc libcpuid opencl-headers cuda gcc49 libmicrohttpd
yaourt libjson-rpc-cpp
export CC=gcc-4.9
export CXX=g++-4.9
git clone
https://github.com/Genoil/cpp-ethereumcd cpp-ethereum && git checkout 110 && mkdir build && cd build && cmake -DBUNDLE=cudaminer ..
cd libethash-cl/ && mkdir CL && cd CL && wget
https://www.khronos.org/registry/cl/api/1.1/cl.hppcd ~/cpp-ethereum/build/libethash-cuda/CMakeFiles/ethash-cuda.dir
nano ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake ###line 79, remove "-std;-c++;"
cd ~/cpp-ethereum/build && make
What am I doing wrong here? Btw genoil can you please add cl.hpp tocpp-ethereum/libethash-cl/CL/ in the 110 branch? It doesn't compile without that file.
Also can you check ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake incpp-ethereum/build/libethash-cuda/CMakeFiles/ethash-cuda.dir and fix the "nvcc fatal : redefinition of argument 'std'" error ? I just removed -std;-c++; from line 79 but maybe that's not the perfect way to fix it.