Ask Your Question

Andrei Blaj's profile - activity

2016-04-18 15:20:28 -0600 received badge  Teacher (source)
2014-02-16 13:46:18 -0600 received badge  Necromancer (source)
2013-02-21 04:30:34 -0600 received badge  Necromancer (source)
2013-02-19 03:26:50 -0600 answered a question OpenCV developed in C/C++ - Run in iOS?

I also do this in our project, Real Colors (Android and iPhone app). For iOS we wrapped all the code in a static library that we link in the iOS app. We also include the opencv2.framework in the app.

It is possible to have one codebase for the OpenCV code and then link it to whatever platform you want: Android, iPhone, PC, Mac.

2013-02-19 03:21:47 -0600 answered a question Building opencv framework ios6 - dynamic link pb

I am also trying to figure this one out. I am exploring two solutions:

  1. There is a readme.txt file in opencv/ios with instructions on builiding the files for the framework.

  2. Run the build_framework.py script from opencv/ios:

python build_framework.ph <some_directory_outside_of_opencv_tree>

I will let you know which one worked. My purpose is to build an OpenCV framework with JPG support :)

2013-02-19 03:01:19 -0600 asked a question Build your own OpenCV2.Framework for iOS with JPG support

I am building an app that needs to write a jpg image on disk from OpenCV. implemented the OpenCV functionality as a static library.

Everything works fine if I run the library on my computer. The problem is when I run the code on XCode for iOS. I started by using the official OpenCV2.Framework, which, unfortunately does not have support for JPEG.

I cloned the code from git locally and tried playing around with the CMakeFiles.txt and the build script from python trying to add jpeg support to the framework, with no success.

Did anyone succeed in building an opencv2.framework for iOS with jpeg support? Or has any idea how should I do this? :)

Thanks!

2013-02-19 02:55:27 -0600 answered a question opencv2.4.3 having linking problems on iOS

I had the same problem. I solved it by setting in the XCode project Build Settings, for C++ Standard Library: libc++ (LLVM C++ standard library with C++ 11 support).

It is obvious from the errors that the problem is from the STD (standard C++ Library), so you should play around with the C++ Standard Library setting.

Hope it helps.