Installing & Configuring OpenCV crate for rust on macOS

Somehow for a lot of people OpenCV goes very bad on macOS. I've created a github gist that will help you set it up properly on macOS. The issue i think arises when setting up the environment variables properly.

Here is a link to the gist. Please feel free to provide your feedback or if i might have missed anything. Will surely incorporate that in.

Hope this helps you set it up properly! Make sure to give it a start if it helped.
Thank you.

You have a syntax error at the end:

export DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/Toolchains/Xcod$
1 Like

thanks i fixed it. I guess i didn't copy the whole thing.
Should be good now.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.