nheqminer icon indicating copy to clipboard operation
nheqminer copied to clipboard

Cmake failing,CUDA not find

Open QuantumLiu opened this issue 7 years ago • 3 comments

Using Ubuntu16

CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find CUDA (missing: CUDA_CUDART_LIBRARY) (found version "8.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.5/Modules/FindCUDA.cmake:949 (find_package_handle_standard_args)
  cuda_djezo/CMakeLists.txt:20 (FIND_PACKAGE)

I have installed cuda succesfuly

~/build$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Sun_Sep__4_22:14:01_CDT_2016
Cuda compilation tools, release 8.0, V8.0.44

QuantumLiu avatar May 10 '17 06:05 QuantumLiu

Try with cmake -DCUDA_CUDART_LIBRARY=/usr/local/cuda/lib64/libcudart.so ../nheqminer

ilovelinux avatar May 22 '17 13:05 ilovelinux

@ilovelinux @QuantumLiu it worked for me!

philipperemy avatar May 26 '17 05:05 philipperemy

worked for me too

soroosh-sdi avatar Sep 03 '17 20:09 soroosh-sdi