cu icon indicating copy to clipboard operation
cu copied to clipboard

cannot find -lcuda

Open HaoRan98 opened this issue 5 years ago • 2 comments

windows cuda 9.0

gorgonia.org/cu

C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcuda collect2.exe: error: ld returned 1 exit status

Hello... Any idea on how to resolver this problem?

HaoRan98 avatar Nov 11 '20 08:11 HaoRan98

go install gorgonia.org/cu/cmd/cudatest

HaoRan98 avatar Nov 11 '20 08:11 HaoRan98

@HaoRan98 here's a couple of steps to try:

  • Check that C_INCLUDE_PATH environment variable includes your CUDA includes folder.
  • Check that your LIBRARY_PATH environment variable includes your CUDA lib folder.

There are also other troubleshooting steps you could try in #37

cfgt avatar Nov 11 '20 23:11 cfgt