yeatse / opencv-spm

Integrate OpenCV into your project using Swift Package Manager.
Apache License 2.0
71 stars 23 forks source link

Missing modules (to be built?) #1

Closed edbarbier closed 1 year ago

edbarbier commented 1 year ago

Hi,

I'm just scratching the surface with OpenCV so my apologies if this is a trivial question. I find your package and I was wondering why after installing it, the Xcode project isn't able to access some modules? (i.e. core dnn and many others)

Is there something specific to do to access more modules from the Xcode project?

Thanks in advance :)

image
yeatse commented 1 year ago

Thanks for reporting. It seems there is a bug in OpenCV causing this library cannot initialize on M1 macs. I just submitted a patch to fix this (https://github.com/opencv/opencv/pull/23111). Before this PR is merged, you can stick to version 4.6.0 to use it normally. Kindly let me know if you have any further question.

edbarbier commented 1 year ago

Thanks a lot for jumping on this. I'll keep an eye on the PR and try with v4.6 for now. I really appreciate the help. Happy 2023.

yeatse commented 1 year ago

Fixed in v4.8.0+7