You are not logged in.
↪ pkg-config --cflags --libs opencv
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
Package 'opencv', required by 'virtual:world', not found
↪
so it leading to fatal error #include in compile time
--------------------------------------------------------
make
solve the problem ~_~
Last edited by chibo (2019-05-08 16:16:42)
Offline
chibo do you mean you solved the problem by running make (meaning build opencv from source)?
Also if you reference something producing a build error please include the build output showing the error, details of the project and how you are trying to build it.
Offline
chibo do you mean you solved the problem by running make (meaning build opencv from source)?
Also if you reference something producing a build error please include the build output showing the error, details of the project and how you are trying to build it.
My bad, just haven't enough time, heh
That was opencv-samples, cpp folder, I changed permission to 777, added whole folder to VSCode and tried to run cpp files directly through Run-Code extension, which is works fine for small programs, but it doesn't work with this case, even after I added header path to C/C++ config in VSCode.
I guess it's normal, that's why Makefile laying in a folders, but whatever, I'm in love with Python & Nim ¯\_(ツ)_/¯
Offline