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 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?
Please add the needed information like for example what stuff is giving you problems. I have been using static and dynamic libraries seperately for ages without any problem...
There is no problem. The question is not about how to fix smth, but why it is so. This question might be about the essentials of using libraries in programming and might not relate to OpenCV itself. It is general, perhaps.
The fact is that this is my first experience using dynamic libraries explicitly. Before this experience I thought that if I have dynamic libraries, then I don't need static ones. But it seems that they are required. Why?
What I am saying is that I use dynamic libs without having the static ones. That is absolutely normal ... I do not get your problem :D
These static libraries are actually import libraries. I've confused them.