Building framework fails with Xcode6-Beta's

asked 2014-09-03 15:23:22 -0600

Skuenstler gravatar image

updated 2014-09-03 15:25:04 -0600

Since 5 days I am trying to build an opencv2.framework under Xcode6-Beta5 or 7 and I am using the steps as described in this link

However, the resulting ios/opencv2.framework/Versions/A/opencv2 File is only 5kB big (instead of approx 81 MB). And it brings me 133 mach-o linker errors inside my xcode project. Therefore clearly not what I want.

It was all working under Xcode5.1.1. But after installing Xcode6-Beta5 (and also Beta7) - I can no longer build the framework. Things are corrupt... :/ What could be the cause ?? Which steps in the install process need to be repeated. What libraries need to be deleted beforehand and how. Does Cmake play a role ?

Any help tremendously appreciated ! Thank you very much.

edit retag flag offensive close merge delete

Comments

Actually you are summing up exactly what went wrong, without errors and without clear steps on how you got there. So instead of posting the installation link hit the edit button and start by typing a clear list of steps followed and the resulting errors, even if there are 103...

StevenPuttemans gravatar imageStevenPuttemans ( 2014-09-04 07:12:17 -0600 )edit

Thank you Steven - for your hint. You are right, this wasn't very clear at all! Here is the entire framework-build LOG (see link) that is plotted during the python framework building process (Step Nr2 of the instructions here). As you can see, at the end of the python Build-OpenCV-Framework process, I receive the message * INSTALL SUCCEEDED * But as mentioned before, the resulting ios/opencv2.framework/Versions/A/opencv2 File is only 5kB big (instead of approx 81 MB) - and I wonder why ???

Skuenstler gravatar imageSkuenstler ( 2014-09-04 11:23:27 -0600 )edit

Weird. I have no clue. Never build OpenCV with python, just with plain C++ guess we need someone with experience in this matter. Maybe @berak?

StevenPuttemans gravatar imageStevenPuttemans ( 2014-09-05 04:38:31 -0600 )edit

can't help with anything apple*

berak gravatar imageberak ( 2014-09-05 04:43:48 -0600 )edit

I was afraid so :D we should encourage people to destroy everything with an apple on top of it :P

StevenPuttemans gravatar imageStevenPuttemans ( 2014-09-05 04:50:05 -0600 )edit

I'm working on the same thing. As I find out, I'll send updates. Have you made any progress with this?

opencvlucy gravatar imageopencvlucy ( 2014-12-03 18:54:39 -0600 )edit