Ask Your Question

Include only 2 libs in framework

asked 2012-11-20 08:47:09 -0600

Nekto gravatar image


I want to build OpenCV2.framework for iOS but I want to reduce it size by linking (including) only with two libs: core and imgproc.

How could I do that?

edit retag flag offensive close merge delete


Can anyone help me to rebuild the framework that will include only 2 libs?

Nekto gravatar imageNekto ( 2012-11-22 13:23:23 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-11-27 10:53:23 -0600

AlexanderShishkov gravatar image

updated 2012-11-27 12:36:25 -0600

You can do it by adding additional CMake arguments to Python script for building framework. If you need details, please let me know. Why do you need it? I think it doesn't decrease size of your application.

edit flag offensive delete link more


hello,I also meet this opencv2.framework is very big.i also wang to cut it.i only use stitch function,can you give me some advices?thanks

fpga18 gravatar imagefpga18 ( 2013-07-23 03:14:48 -0600 )edit

Question Tools


Asked: 2012-11-20 08:47:09 -0600

Seen: 521 times

Last updated: Nov 27 '12