nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
769 stars 583 forks source link

No CMAKE_CXX_COMPILER could be found #344

Open Philosophist opened 6 years ago

Philosophist commented 6 years ago

Hi, I'm running into this problem while following the linux instructions. Can anyone help?

screenshot from 2017-12-26 16-52-05-crop

Kr00t commented 6 years ago

Try to use: export CC="/usr/local/gcc-4.7.2/bin/gcc" export CXX="/usr/local/gcc-4.7.2/bin/g++"

CtrlC-Root commented 6 years ago

Not sure where @Kr00t got those environment variables from, but if you have GCC installed CMake should automatically detect it. You may need to explicitly install an older version, since the CUDA SDK requires GCC6 or older, and the latest version is 7 afaik.