Error loading libopencv_core.so.3.1 when running test visualization script
I'm trying to run test visualization script, as in readme:
bash scripts/show_tracker_test.sh vot_folder
but I get the following error:
build/show_tracker_vot: error while loading shared libraries: libopencv_core.so.3.1: cannot open shared object file: No such file or directory
The thing is that I don't have OpenCV 3.1 installed, I have OpenCV 3.2 (and the cmake script detected it correctly when building).
Basically, in my path/to/opencv/build/lib I have the file libopencv_core.so.3.2, however, I'm not sure how to change the GOTURN configs to make it use the right file instead of trying to get libopencv_core.so.3.1
How can I make it use the correct version of OpenCV files?
@yakovenkodenis Ok, In CMakeLists.txt: find_package( OpenCV REQUIRED ) message("Open CV version is ${OpenCV_VERSION}") #set(OpenCV_LIBS /usr/lib/libopencv_core.so) #set(OpenCV_LIBS /usr/lib/libopencv_highgui.so) #set(OpenCV_LIBS /usr/lib/libopencv_imgproc.so) #set(OpenCV_LIBS /usr/lib/libopencv_imgcodecs.so) #set(OpenCV_INCLUDE_DIRS /usr/include/opencv2) #set(OpenCV_INCLUDE_DIRS /usr/include/opencv) you can uncomment # what appears in the above sentences