OpenCV-3.4/lib vs opencv/build/lib
after installing openCV 3.4.10 I've got two lib directories:
Installation/OpenCV-3.4/lib
and
Installation/opencv/build/lib
They contain .so files with the same names.
What is the purpose of these two directories?
The .os files with the same names - are they the same?
opencv will install required libs / headers to whatever CMAKE_INSTALL_PREFIX is set to (/usr/local by default on linux) and that's what you should use. (it's not mandatory to keep the src tree)
what did you do, exactly ? also: os ?
I unstalled OpenCV on Ununty 18.04 using .sh script from here: www.learnopencv.com/install-opencv-4-...
In particular:
From your comment I understand that for linking I should use Installation/OpenCV-3.4/lib which I do and it works fine, except sometimes the linker cannot find certain .os filed although they are there in that directory.
For example at the moment I have error "cannot find -lopencv_video" although I have three virsions of it: libopencv_video.sh , libopencv_video.sh.3.4 and libopencv_video.sh.3.4.10
I have asked this question in another thread, but here I am interested what is Installation/opencv/build/lib for, are the .so files there same as in Installation/OpenCV-3.4/lib.