1 | initial version |
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