I'm working on a research with opencv [cpp] and I had to use the opencv_contrib. You know that in this case we must build the library from the source and I found a good reference on Youtube.com but I was wondering about:
- Why we have to build from source? why not just add the code and build the application normally when we launch our program using VisualStudio?
- What is the use of the .lib file?
- Why we have to include the .dll file in our solution directory not just keeping the source files (.h & .cpp) which can be found with opencv sources?
- I had to use cmake and I have no idea what is this for and why it creates a solution for VisualStudio and there I have to build it for release and debug?
I know it is not a core opencv question but I appreciate any assistance