Fl0p / OpenCV-iOS

OpenCV (open source computer vision library) just builded iOS framework and Pod
Other
123 stars 40 forks source link

Doesn't work in 64-bit mode? #4

Closed ExoticObjects closed 10 years ago

ExoticObjects commented 10 years ago

Could be my error...

I left the following comment here as well. Apologies if that's bad form, but there was an awful lot of discussion about this podspec on that thread.

<<<

I'm using the podspec successfully, to some degree - it works in 32-bit mode on the simulator, but not 64-bit. When running on 64-bit iPad or iPhone, I get errors like this:

Undefined symbols for architecture x86_64

I've been through Stackoverflow. There are lots of links. I've tried them all to no avail:

1, 2, 3, 4, 5, 6

Also, FWIW, OpenCV 2.4.7 is out. The last comment here indicates that they've ironed out some of the issues that have made it so difficult to work with in XCode in the past. Would be awesome to have the podspec updated to use it...

Fl0p commented 10 years ago

Huh..

This pod just an builded for IOS version of the opencv repository https://github.com/Itseez/opencv. I'm not change anything in build settings. and I'm not watching it. Sorry about this.

Looks like we have some fixes for iOS x64 - https://github.com/Itseez/opencv/commit/9631cb6de91fcc736c76e11fff6c5b6d5ff8a3ee

I'll try to make a new version at this week. In urgent case you should try to build it yourself.

ExoticObjects commented 10 years ago

I tried those fixes but couldn't get it to compile so that it worked for 64-bit. I then found that I could download a pre-compiled framework here that did work for 64-bit. So I forked your repo and added that framework. I've sent you a pull request.

I know that you're not watching this repository too closely, but if you do pod search openCV, this is the only thing that comes up. So it makes sense to keep this one up to date, no?

Fl0p commented 10 years ago

waiting for a merge https://github.com/CocoaPods/Specs/pull/6161

Fl0p commented 10 years ago

Done Tnx for support