Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why do I need both static and dynamic libraries to build OpenCV application?

I've installed OpenCV from sources with MinGW on 64-bit MS Windows 7. I've chosen to build dynamic libraries.

But when I build OpenCV application I need not only dynamic libraries being available for loading at runtime but I also need to link some static libraries, othewise I get error messages from the linker about unresolved external symbols - you know what I mean.

So why do I need both static and dynamic libraries to build OpenCV application?

Why do I need both static and dynamic libraries to build OpenCV application?

I've installed OpenCV from sources with MinGW on 64-bit MS Windows 7. I've chosen to build dynamic libraries.

But when I build OpenCV application I need not only dynamic libraries being available for loading at runtime but I also need to link some static libraries, libraries while building binaries, othewise I get error messages from the linker about unresolved external symbols - you know what I mean.

So why do I need both static and dynamic libraries to build OpenCV application?