Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ASSEMBLY

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"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fatal #No #file #directory
ADD COMMENT
Topic
Name
9+9 =