Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Card.IO breaks with OpenCV 3.0 or above #102

Open
kteman opened this issue Apr 3, 2018 · 0 comments
Open

Card.IO breaks with OpenCV 3.0 or above #102

kteman opened this issue Apr 3, 2018 · 0 comments

Comments

@kteman
Copy link

kteman commented Apr 3, 2018

Hi!
My problem is that I use OpenCV for other things besides just Card IO. If you're in my shoes, and you've updated OpenCV to 3.0 or above, you'll have to waive bye-bye to Card.IO because the old version of OpenCV packaged in your .a files conflicts when trying to use OpenCV functions, such as image functions.

It is my conclusion that Card IO is currently incompatible with projects using OpenCV 3.0 or above.

I have been and really want to continue to use Card IO for my project! However, I have not been able to figure out a way around this. Is it possible to get a version of your library with OpenCV dependency removed from your lib file? Since you've prepackaged everything in the lib file... I can't do anything to fix. Your libCardIO.a references your pre-packaged libopencv_core.a and libopencv_imgproc.a files from within. If you have OpenCV installed through Cocoa Pods, or, as I have by directly linking the OpenCV framework file, the next time using an OpenCV method EXC_BAD_ACCESS is the result. Tested over, and over, and over, and know this to be the case... because I really need CardIO in my project. HoweverI also really need OpenCV 3.0+. These days, there are modules that require OpenCV 3.0, and so any of those also automatically conflict with Card.IO too. I loved using CardIO!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant