building from source along with opencv_contrib [closed]

asked 2017-02-27 07:41:29 -0500

Yasser Akram gravatar image

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 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

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by Yasser Akram
close date 2017-02-28 04:35:01.928967


I'm agree all your questions are off-topic. Google is your friend ...

LBerger gravatar imageLBerger ( 2017-02-27 08:23:03 -0500 )edit

your youtube link is useless, we need to see, what you 've been doing, not what they did.

berak gravatar imageberak ( 2017-02-27 08:46:54 -0500 )edit

Maybe you both are right. I have to research that with Mr. Google :)

Yasser Akram gravatar imageYasser Akram ( 2017-02-28 04:34:42 -0500 )edit

Yes I think we are right. But If you have some problem building opencv or use opencv we will try to help you

LBerger gravatar imageLBerger ( 2017-02-28 07:49:51 -0500 )edit