Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find -lcuda #55

Open
HaoRan98 opened this issue Nov 11, 2020 · 2 comments
Open

cannot find -lcuda #55

HaoRan98 opened this issue Nov 11, 2020 · 2 comments

Comments

@HaoRan98
Copy link

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
Copy link
Author

go install gorgonia.org/cu/cmd/cudatest

@cfgt
Copy link
Contributor

cfgt commented Nov 11, 2020

@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

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

No branches or pull requests

2 participants