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

Makefile:185: recipe for target 'obj/network_kernels.o' failed #15

Open
muruvijay99 opened this issue Aug 18, 2022 · 0 comments
Open

Makefile:185: recipe for target 'obj/network_kernels.o' failed #15

muruvijay99 opened this issue Aug 18, 2022 · 0 comments

Comments

@muruvijay99
Copy link

chmod +x *.sh
nvcc -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -gencode arch=compute_61,code=[sm_61,compute_61] -Iinclude/ -I3rdparty/stb/include -DOPENCV pkg-config --cflags opencv4 2> /dev/null || pkg-config --cflags opencv -DGPU -I/usr/local/cuda/include/ --compiler-options "-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas -fPIC -Ofast -DOPENCV -DGPU" -c ./src/network_kernels.cu -o obj/network_kernels.o
./src/network_kernels.cu(379): warning: variable "l" was declared but never referenced

./src/network_kernels.cu(709): error: identifier "cudaGraphExec_t" is undefined

./src/network_kernels.cu(712): error: identifier "cudaGraph_t" is undefined

./src/network_kernels.cu(721): error: identifier "cudaStreamCaptureModeGlobal" is undefined

./src/network_kernels.cu(721): error: identifier "cudaStreamBeginCapture" is undefined

./src/network_kernels.cu(729): error: identifier "cudaStreamEndCapture" is undefined

./src/network_kernels.cu(730): error: identifier "cudaGraphInstantiate" is undefined

./src/network_kernels.cu(740): error: identifier "cudaGraphLaunch" is undefined

7 errors detected in the compilation of "/tmp/tmpxft_00004e7f_00000000-13_network_kernels.compute_61.cpp1.ii".
Makefile:185: recipe for target 'obj/network_kernels.o' failed
make: *** [obj/network_kernels.o] Error 2

this error occurs when i try to run make command in darknet

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

1 participant