You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build your custom darknet repos after having downloaded it with git clone, by using the command 'make' . (running in Linux):
I get the following : "
mkdir -p obj
mkdir -p results
gcc -Iinclude/ -Isrc/ -DOPENCV pkg-config --cflags opencv -DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wno-unknown-pragmas -Wfatal-errors -fPIC -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/gemm.c -o obj/gemm.o
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
In file included from ./src/utils.h:5,
from ./src/gemm.c:2:
include/darknet.h:25:14: fatal error: opencv2/highgui/highgui_c.h: No such file or directory
25 | #include "opencv2/highgui/highgui_c.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:85: obj/gemm.o] Error 1
"
How can I resolve this?
Thx
The text was updated successfully, but these errors were encountered:
Hi Rafael,
I'm trying to build your custom darknet repos after having downloaded it with git clone, by using the command 'make' . (running in Linux):
I get the following : "
mkdir -p obj
mkdir -p results
gcc -Iinclude/ -Isrc/ -DOPENCV
pkg-config --cflags opencv
-DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wno-unknown-pragmas -Wfatal-errors -fPIC -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/gemm.c -o obj/gemm.oPackage opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
In file included from ./src/utils.h:5,
from ./src/gemm.c:2:
include/darknet.h:25:14: fatal error: opencv2/highgui/highgui_c.h: No such file or directory
25 | #include "opencv2/highgui/highgui_c.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:85: obj/gemm.o] Error 1
"
How can I resolve this?
Thx
The text was updated successfully, but these errors were encountered: