I have a project that links to both OpenCV and cvBlob, but cvBlob also links to OpenCV. Both OpenCV and cvBlob are built as static libraries.
Does my executable have 2 copies of all OpenCV functions that are used by both my code and by cvBlob, or does the linker detect this and remove the redundancy?
cvBlob and my code link to the same OpenCV lib files.
If they both link to the same .lib files, then there is only one copy in the final executable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With