opencv/build/lib vs installation/OpenCV-3.4/lib/
After installing openCV 3.4.10 two lib directories appear:
installation/OpenCV-3.4/lib/
and
opencv/build/lib
They have sets .so files of the same names. What is the purpose of these two sets? Perhaps one is for Python, the other for C++? If so, which one is for which?
In opencv/build/lib all intermidiate files can be found. In tallation/OpenCV-3.4/lib/ you have got only file needed to build an application using opencv. python binding must be in site_pasckages repo.
Thank you, but you comment asks for more questions:
What are intermidiate files and what are they for?
OpenCV-3.4/lib/ you have got only file needed to build an application using opencv - I thought that all opencv libraries are intended to build an application using opencv. What else one can do with opencv libraries other than building applications using opencv?
Do you mean that installation/OpenCV-3.4/lib/ is a subset of opencv/build/lib?
When compiling a C++ application with g++ command, should -L point to installation/OpenCV-3.4/lib/ or to opencv/build/lib?
1 to build a .lib or .so linker needs all .o .o are intermediate files
2 compiler needs include and libs
3 No
4 use cmake to build your makefile