Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have the same issue and finally solved by reinstalling again and again until this link: link text I guess my Ubuntu 18 lacked some dependencies and the instruction above fixed for me. then after the $cmake ........ I got:

-- General configuration for OpenCV 4.1.0 =====================================

-- Version control: 4.1.0

-- Extra modules: -- Location (extra): /home/parallels/opencv_build/opencv_contrib/modules -- Version control (extra): 4.1.1-49-gdda33bf3

. . .

-- OpenCV modules: -- To be built: aruco bgsegm bioinspired calib3d ccalib core cvv datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 python3 quality reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab viz xfeatures2d ximgproc xobjdetect xphoto

added extra more module but "tracking" is there! Then after build and install, in “/usr/local/lib”, I see

libopencv_tracking.so ->libopencv_tracking.so.4.1 libopencv_tracking.so.4.1 ->libopencv_tracking.so.4.1.0 libopencv_tracking.so.4.1.0

The error on the code for opencv2/tracking.hpp is gone!