1 | initial version |
Did you check the output of pkg-config opencv --cflags --libs
?
First, for OpenCV4 it's pkg-config opencv4 --cflags --libs
.
Second, if you compile OpenCV4 yourself, you must enable the pkg-config file generation using the -D OPENCV_GENERATE_PKGCONFIG=ON
flag.