Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md to include export step for installation on macOS #887

Open
wants to merge 1 commit into
base: release
Choose a base branch
from
Open

Conversation

kmans
Copy link

@kmans kmans commented Aug 10, 2021

Adding in an important step to running GoCV on macOS. Without setting this environment variable, users running macOS may encounter an error similar to this one:

Package opencv4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv4' found
pkg-config: exit status 1

@deadprogram
Copy link
Member

Normally you would only have this problem if OpenCV has been installed as a "keg-only" package. Perhaps you needed to run brew upgrade opencv due to having multiple OpenCV installs already?

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

Successfully merging this pull request may close these issues.

2 participants