Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

Cmake failing,CUDA not find #260

Open
QuantumLiu opened this issue May 10, 2017 · 3 comments
Open

Cmake failing,CUDA not find #260

QuantumLiu opened this issue May 10, 2017 · 3 comments

Comments

@QuantumLiu
Copy link

QuantumLiu commented May 10, 2017

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
@ilovelinux
Copy link

ilovelinux commented May 22, 2017

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

@philipperemy
Copy link

@ilovelinux @QuantumLiu it worked for me!

@soroosh-sdi
Copy link

worked for me too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants