Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When you disable BUILD_SHARED_LIBS in CMake you get static libs in your OpenCV install directory. With these libs you can build your projects without the need of extra OpenCV.dll's.

I use this at work and it works as expected in Release and Debug mode. I can even build OpenCV with clFFT and clBlas (compiled as static libs) without the need of any extra dll. For OpenBlas I have to use MinGW compiler which is not compatible with VisualStudio for static lib. So for this I get some extra dll's. Perhabs MKL can be build in as static lib, but I don't have any experience with this.