Installation OpenCV by Using the Pre-built Libraries & by Making Own Libraries

Discussion in 'Programmer's Corner' started by bestproj, Nov 2, 2012.

  1. bestproj

    Thread Starter New Member

    Jul 19, 2012
    9
    0
    Hello,

    I need 2 know the Difference between Installation OpenCV

    1. By Using the Pre-built Libraries ?
    2. By Making Own Libraries from the Source Files ?


    When we do first one we have to only download OpenCV new version and extract it, and configure it with Visual studio using CMake.


    But why we are going to download OpenCV libraries and others using TortoiseGit hub(it takes many time) ? Are there any special advantage of that?


    Could u please answer these questions...


    Thank U
     
  2. BMorse

    Senior Member

    Sep 26, 2009
    2,675
    234
    The first one already has compiled binary files that you access by using the dll files in your application, when your application is compiled these dll files become dependency files for your app to run, if you do not include them in your application install, your app will not work correctly. (Which makes for a quicker download)

    The second one downloads all un-compiled binary files so you can include them in your application by adding them as include files during compilation of your application, which makes it more of a self contained application without external dependency files. (Which makes for a longer download time since there are more files to download).
     
    bestproj likes this.
Loading...