I'm new to c++ and I'm trying to understand how libraries work with codeblock.
I have a project (opencv, but this question is not opencv specific) with a folder for each library, and in each folder two folders "include" with headers and "code" with some headers and .cpp files.
Furthermore there are two folders outside "bin" with .dll files and "lib" with .lib files.
What I want to do is to produce .lib and .dll files by myself using my codeblock, so that I can modify the source code if I want.
If I choose a shared library or a dynamic library project and take all the files in a source folder in my project, compile and link them I get, in both case, two files: cxcore100.dll (980 Kb) and cxcore.a
(607Kb).
The original files were cxcore100.dll (989 Kb) and cxcore.lib (80Kb).
Why the second file is much bigger, do I be wrong somewere?
Giuseppe