-
Notifications
You must be signed in to change notification settings - Fork 8k
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
make darknet 'obj/network_kernels.o' failed #7621
Comments
I changed my brain from stupid -> minimal effort and found a fix: #7557 (comment) |
had this issue today on ubuntu 18.04. relevant fix for me was setting nvcc=cudalib64path/bin in makefile. additionally changed opencv4 to opencv in pkg-config lines. ran sudo make successfully after that |
Why run |
indeed! listen to this one :) |
Hi haviduck, could you show me what you changed? I'm new to cuda and compiling from source, so its all a bit overwhelming :)
|
my bad, it was a rushed reply and wrong aswell. i dont know what os you are on, so might differ, but heres my path NVCC=/usr/local/cuda-11.2/bin/nvcc |
The issue of Also, take a look at what you have installed on your system. Got more than version of cuda perhaps?
This solved my issue |
When I try to build darknet, I get the error:
Darknet repo is a clone of commit b6cd759.
I've read multiple issues on the matter but they seem to focus on an older version of CUDA.
Notice I'm running on Quadro P6000 so my Makefile looks like this:
My system setup:
Ubuntu 18.04.5 LST
installed drivers
nvcc version
gcc version
The text was updated successfully, but these errors were encountered: