fatal error: opencv2/opencv.hpp: No such file or directory
g++ m.cpp -o app `pkg-config --cflags --libs opencv`
fatal error: opencv2/opencv.hpp: No such file or directory
g++ m.cpp -o app `pkg-config --cflags --libs opencv`
fatal error: opencv2/core/version.hpp: No such file or directory
sudo apt-get install libopencv-core-dev <<<<<on Debian and Ubuntu
error:
...
./mediapipe/framework/port/opencv_core_inc.h:18:10: fatal error: opencv2/core/version.hpp: No such file or directory
#include <opencv2/core/version.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Solution:
probably you miss version.hpp header file in your include directory. if not there, try to install library for opencv dev package.
"sudo apt-get install libopencv-core-dev"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us