Easy Opencv installation for Visual Studio 2015 C++ project by NUGET packages. Your opencv is ready to use under 2 minutes after you find the package console.
From Opencv 3.0 Cmake to Opencv 3.1 prebuild Libs
I wrote about opencv installation since the release of version 3 and Visual Studio 2015. In the early build of opencv 3.0 there is no precompiled library for VS2015 and I wrote about installation using CMAKE here . This is still useful when you need nonstandard capabilities. You can manage the build process and target specific functions and properties. Opencv version 3.1 was shipped with prebuild libs for Visual Studio 2015 and everything is much more simple. Installation and basic setup is discussed in the tutorial here .
Install Opencv, Visual Studio 2015 with NUGET
The most simple way without setting the global environmental variables and location of headers and libs is to use the NUGET packages.
You can install it in NUGET package console. Don't be afraid of CONSOLE. PLEASE.
1. Open NUGETconsole
2. Create an empty Visual C++ project
3. Add a source File and write some code.
4. Add NUGET package
5. Compile and have fun. RLY simple in less than 4 minutes.
Opencv Nuget Console options
After the PM> you can write commands for Nuger console. And installing Opencv is really simple. For default configuration like in prebuild libs just use..
Opencv Default Build 3.1.0
PM> Install-Package opencvdefault
Enabled advanced CPU instructions. With OpenMP. No TBB/IPP. vc12/vc14, x64/x86 available.
PM> Install-Package opencv3.1
AND DONE !!