Skip to content

Instantly share code, notes, and snippets.

View aaqidmasoodi's full-sized avatar
🎯
Focusing

Aaqid Masoodi aaqidmasoodi

🎯
Focusing
View GitHub Profile
@aaqidmasoodi
aaqidmasoodi / .md
Last active September 12, 2024 13:22
Installing & Configuring OpenCV crate for rust on macOS

Installing & Configuring OpenCV crate for rust on macOS

All of us have had some trouble setting up opencv create for rust-lang on macOS. In this article i will be showing you how to properly set up OpenCV so that when you build it you do not encounter any build issues.

Note: In this article we will rely on auto-detection of the OpenCV library, which is the best thing to do on macOS. So make sure to only set the environment variables that have been advised here. Do not need to set any variables that relate to OpenCV specifically.

Tested on Following

OpenCV Version 4.8.0 stable