1

I have built OpenCV with extra modules based on these instractions by providing the path: C:/opencv/opencv-4.2.0/opencv_contrib-4.2.0/modules in OPENCV_EXTRA_MODULES_PATH in CMake GUI.

However, when I want to use MultiTracker based on this page I face this error:

Cannot open include file: 'samples_utility.hpp': No such file or directory

This error comes from this line:

#include "samples_utility.hpp"

I know samples_utility.hpp is a file in opencv_contrib-4.2.0\modules\tracking, but why is it not found in the built libraries? Do I have to add it from CMake or should I build OpenCV from scratch?

Hadi GhahremanNezhad
  • 2,377
  • 5
  • 29
  • 58

0 Answers0