nheqminer icon indicating copy to clipboard operation
nheqminer copied to clipboard

No CMAKE_CXX_COMPILER could be found

Open Philosophist opened this issue 7 years ago • 2 comments

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

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

Philosophist avatar Dec 27 '17 01:12 Philosophist

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

Kr00t avatar Jan 16 '18 20:01 Kr00t

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.

CtrlC-Root avatar Jan 16 '18 23:01 CtrlC-Root