Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV Library File Size

Is there a relatively easy way to reduce the size of static libraries built from OpenCV 3.4 source? I ran CMake on my Windows development system to create VS 2010 projects to build OpenCV static libraries, but some of the CUDA related libraries come out to large to be practical, and when I link those libraries into my own apps, they also come out enormous. The opencv_cudafilters340d.lib is about 405MB, and when I build a simple app which does a single CUDA filter operation, the built binary is also nearly half a GB. What can I do to reduce the file sizes without painstakingly editing large amounts of OpenCV source code?

Thank You

Larry