Ask Your Question
0

Building a OpenCV library in VS C++ 2013?

asked 2014-02-13 20:15:27 -0600

solarblast gravatar image

Is it the case that when one installs OpenCV that it makes the lib files, the function bin files, and (possibly) the header files? dll files? I see them in the OpenCV folder that is created.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-13 21:15:59 -0600

DeepVoid gravatar image

Yes, those .h .lib and .bin files are pre-compiled files, you can directly use them as long as you have the latest visual studio IDE, or you will have to compile all those files by yourself using CMake, please refer to:

http://docs.opencv.org/trunk/doc/tutorials/introduction/windows_install/windows_install.html

http://docs.opencv.org/trunk/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to

they will tell you step by step how to use OpenCV.

edit flag offensive delete link more

Comments

Looking at the first link suggests that these steps are all I need for pre-built:

Installation by Using the Pre-built Libraries

1 Launch a web browser of choice and go to our page on Sourceforge.

2 Choose a build you want to use and download it.

3 Make sure you have admin rights. Unpack the self-extracting archive.

4 You can check the installation at the chosen path as you can see below.

5 To finalize the installation go to the Set the OpenCV enviroment variable and add it to the systems path section.

Seems pretty straightforward.

The second link is about building an application, and looks a bit daunting. It looks like it's a one-time set-up, I hope! In other words, it doesn't need any changes to Local the next time, but a different project can be used here repeatedl

solarblast gravatar imagesolarblast ( 2014-02-13 23:23:33 -0600 )edit

It seems to me there's a character limit here. I was stopped with repeatedl(y). Kind of a tiny window to work in.

solarblast gravatar imagesolarblast ( 2014-02-13 23:25:14 -0600 )edit

Question Tools

Stats

Asked: 2014-02-13 20:15:27 -0600

Seen: 343 times

Last updated: Feb 13 '14