Friday, 7 October 2016

Compile & Install OpenCVBlobsLib on Windows

Win7 64bit, Visual Studio 2012, OpenCV 3.0

1. Install pthread-win32 which is required by OpenCVBlobsLib
Instruction: InstallingpthreadsforVisualStudio.pdf

2. Download OpenCVBlobsLibhttp://opencvblobslib.github.io/opencvblobslib/

3. Configure with CMake. Make sure BUILD_SHARED_LIBS is off. CMAKE_CXX_FLAGS_(DEBUG/RELEASE)/CMAKE_C_FLAGS_(DEBUG/RELEASE) has value /MTd (Debug) and /MT (Release) for static link.

4. Configure/Generate/Build