Ask Your Question
0

General steps of linking openCV

asked 2014-05-24 03:04:34 -0500

SPLaBz gravatar image

updated 2014-05-24 03:06:43 -0500

berak gravatar image

Hello Experts, I'm an electronics hobbyist not much experience in software development, i have done some projects in opencv. But all the time i have done for configuring the opencv with an IDE the steps for different IDE like DevCpp,VS etc are different in. may the the thing what we are doing the same but as i don't know much about the linker, compiler configure i'm little confused. What i need is to understand the concept and so that i can link the opencv with any IDE without going through a tutorial steps. The next doubt is the as new versions of openCV comes does the steps change? is need change how to identify that?? I have tried to understand this but failed many time, so kindly help me.

edit retag flag offensive close merge delete

Comments

if you want to use mingw, it all starts with building the opencv libs for that using cmake.

(there are no more prebuild binaries delivered for mingw).

berak gravatar imageberak ( 2014-05-24 03:09:24 -0500 )edit

can you please explain this in little detailed? does devcpp comes in mingw? kindly explain in a littel detailed way so that persons like me who dnt have much knwldge in compiler and linker properties can understand.

SPLaBz gravatar imageSPLaBz ( 2014-05-24 03:58:14 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-05-24 13:42:38 -0500

Y Simson gravatar image

OpenCV is cross platform so you first should state which platform it is that you wish to compile and develop your code. I assume you are aiming at developing code for Windows OS. For all OSs here is the link.

For Windows you have 3 basic options:

One option is to download cygwin which is nice IF you are familiar with Unix environment. Then you compile the code as if you are working in Unix. If you are not familiar with Unix, you might face a steep learning curve.

The other option is to link OpenCV precompiled binaries to your code using Visual Studio. You can find the pre-compiled binaries here. Documentation for linking to pre-compiled binaries can be found here. This is the easiest option for beginners.

You can also download the source code from github and compile it yourself. Here is simple tutorial on how to do this

edit flag offensive delete link more
-1

answered 2014-07-22 03:34:50 -0500

Efi gravatar image

Hi, you can also try "Ceemple", it's a C++ based technical computing environment, and it already includes OpenCV so it's pretty straight forward to start working with the library. The bonuses are that you also get a JIT compiler and other open source C++ scientific computing libraries, that are already integrated in the IDE. It's free for download through: www.ceemple.com

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-05-24 03:04:34 -0500

Seen: 239 times

Last updated: Jul 22 '14