Ask Your Question

gagabla's profile - activity

2014-02-22 11:12:44 -0600 received badge  Supporter (source)
2012-12-04 08:10:49 -0600 received badge  Student (source)
2012-12-04 08:08:22 -0600 asked a question Reduce filesize of binary thats statically linked against opencv

Using the cv::Mat class from opencv in my application increases the filesize of the binary by about 900 kb:

// Nothing but these two lines increases binary filesize by 900 kb
cv::Mat m;
m.create(1, 1, CV_32F);

I am using Visual Studio 2010 express, and tried the /Gy setting but it didn't change the filesize at all.

Is there a way to only get the functionality i am using in my code, when compiling against opencv?