Ask Your Question

Revision history [back]

built dll's sizes

i built libraries with cmake and codeblock. i wonder why the built dll's sizes are over the sizes of distributed dlls.

sizes of dll's

libopencv_core2410.dll - 3.458.431 bytes

libopencv_imgproc2410.dll - 3.176.642 bytes

libopencv_highgui2410.dll - 3.765.243 bytes

libopencv_objdetect2410.dll - 808.956 bytes

can someone who built libraries with another compiler check the sizes and inform me.

thanks.

built dll's sizes

i built libraries with cmake and codeblock. i wonder why the built dll's sizes are over the sizes of distributed dlls.

sizes of dll's

libopencv_core2410.dll - 3.458.431 bytes

libopencv_imgproc2410.dll - 3.176.642 bytes

libopencv_highgui2410.dll - 3.765.243 bytes

libopencv_objdetect2410.dll - 808.956 bytes

can someone who built libraries with another compiler check the sizes and inform me.

thanks.


General configuration for OpenCV 2.4.10

Platform:

Host:                        Windows 6.1 AMD64

CMake:                       3.0.2

CMake generator:             MinGW Makefiles

CMake build tool:            C:/PROGRA~2/CODEBL~1/MinGW/bin/mingw32-make.exe

Configuration:               Release

C/C++:

Built as dynamic libs?:      YES

C++ Compiler:                C:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe  (ver 4.8.1)

C++ flags (Release):         -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG  -DNDEBUG
C++ flags (Debug):           -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
C Compiler:                  C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe
C flags (Release):           -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG  -DNDEBUG
C flags (Debug):             -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
Linker flags (Release):      
Linker flags (Debug):        
Precompiled headers:         YES

OpenCV modules:

To be built:                 core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib stitching superres ts videostab
Disabled:                    world
Disabled by dependency:      -
Unavailable:                 androidcamera dynamicuda java python viz

Windows RT support: NO

GUI:

QT:                          NO
Win32 UI:                    YES
OpenGL support:              NO
VTK support:                 NO

Media I/O:

ZLib:                        build (ver 1.2.7)
JPEG:                        C:/libjpeg-turbo-gcc/lib/libjpeg.a (ver )
PNG:                         build (ver 1.5.12)
TIFF:                        build (ver 42 - 4.0.2)
JPEG 2000:                   build (ver 1.900.1)
OpenEXR:                     build (ver 1.7.1)

Video I/O:

Video for Windows:           YES
DC1394 1.x:                  NO
DC1394 2.x:                  NO
FFMPEG:                      YES (prebuilt binaries)
  codec:                     YES (ver 55.18.102)
  format:                    YES (ver 55.12.100)
  util:                      YES (ver 52.38.100)
  swscale:                   YES (ver 2.3.100)
  gentoo-style:              YES
OpenNI:                      NO
OpenNI PrimeSensor Modules:  NO
PvAPI:                       NO
GigEVisionSDK:               NO
DirectShow:                  YES
Media Foundation:            NO
XIMEA:                       NO
Intel PerC:                  NO

Other third-party libraries:

Use IPP:                     NO
Use Eigen:                   NO
Use TBB:                     NO
Use OpenMP:                  NO
Use GCD                      NO
Use Concurrency              NO
Use C=:                      NO
Use Cuda:                    NO
Use OpenCL:                  YES

OpenCL:

Version:                     dynamic
Include path:                C:/opencv2/opencv/sources/3rdparty/include/opencl/1.2
Use AMD FFT:                 NO
Use AMD BLAS:                NO

built dll's sizes

i built libraries with cmake and codeblock. i wonder why the built dll's sizes are over the sizes of distributed dlls.

sizes of dll's

libopencv_core2410.dll - 3.458.431 bytes

libopencv_imgproc2410.dll - 3.176.642 bytes

libopencv_highgui2410.dll - 3.765.243 bytes

libopencv_objdetect2410.dll - 808.956 bytes

can someone who built libraries with another compiler check the sizes and inform me.

thanks.


General configuration for OpenCV 2.4.10

Platform:

Host:                        Windows 6.1 AMD64

CMake:                       3.0.2

CMake generator:             MinGW Makefiles

CMake build tool:            C:/PROGRA~2/CODEBL~1/MinGW/bin/mingw32-make.exe

Configuration:               Release

C/C++:

Built as dynamic libs?:      YES

C++ Compiler:                C:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe  (ver 4.8.1)

C++ flags (Release):         -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG  -DNDEBUG
C++ flags (Debug):           -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
C Compiler:                  C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe
C flags (Release):           -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG  -DNDEBUG
C flags (Debug):             -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
Linker flags (Release):      
Linker flags (Debug):        
Precompiled headers:         YES

OpenCV modules:

To be built:                 core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib stitching superres ts videostab
Disabled:                    world
Disabled by dependency:      -
Unavailable:                 androidcamera dynamicuda java python viz

Windows RT support: NO

GUI:

QT:                          NO
Win32 UI:                    YES
OpenGL support:              NO
VTK support:                 NO

Media I/O:

ZLib:                        build (ver 1.2.7)
JPEG:                        C:/libjpeg-turbo-gcc/lib/libjpeg.a (ver )
PNG:                         build (ver 1.5.12)
TIFF:                        build (ver 42 - 4.0.2)
JPEG 2000:                   build (ver 1.900.1)
OpenEXR:                     build (ver 1.7.1)

Video I/O:

Video for Windows:           YES
DC1394 1.x:                  NO
DC1394 2.x:                  NO
FFMPEG:                      YES (prebuilt binaries)
  codec:                     YES (ver 55.18.102)
  format:                    YES (ver 55.12.100)
  util:                      YES (ver 52.38.100)
  swscale:                   YES (ver 2.3.100)
  gentoo-style:              YES
OpenNI:                      NO
OpenNI PrimeSensor Modules:  NO
PvAPI:                       NO
GigEVisionSDK:               NO
DirectShow:                  YES
Media Foundation:            NO
XIMEA:                       NO
Intel PerC:                  NO

Other third-party libraries:

Use IPP:                     NO
Use Eigen:                   NO
Use TBB:                     NO
Use OpenMP:                  NO
Use GCD                      NO
Use Concurrency              NO
Use C=:                      NO
Use Cuda:                    NO
Use OpenCL:                  YES

OpenCL:

Version:                     dynamic
Include path:                C:/opencv2/opencv/sources/3rdparty/include/opencl/1.2
Use AMD FFT:                 NO
Use AMD BLAS:                NO

built dll's sizes

i built libraries with cmake and codeblock. i wonder why the built dll's sizes are over the sizes of distributed dlls.

sizes of dll's

libopencv_core2410.dll - 3.458.431 bytes

libopencv_imgproc2410.dll - 3.176.642 bytes

libopencv_highgui2410.dll - 3.765.243 bytes

libopencv_objdetect2410.dll - 808.956 bytes

can someone who built libraries with another compiler check the sizes and inform me.

thanks.