From 354fa89def96d9d84807395a51f805d892a828f9 Mon Sep 17 00:00:00 2001 From: Kamil Mansuri Date: Tue, 10 Aug 2021 16:16:36 -0400 Subject: [PATCH] Update README.md to include export step for installation on macOS --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b6d5115..2baa4e9e 100644 --- a/README.md +++ b/README.md @@ -367,7 +367,11 @@ You can install it by using Homebrew: To verify your installation you can run one of the included examples. -First, change the current directory to the location of the GoCV repo: +To start, you will need to set the `PKG_CONFIG_PATH` environment variable (replacing `4.5.3` if needed): + + export PKG_CONFIG_PATH="/opt/homebrew/Cellar/opencv/4.5.3/lib/pkgconfig" + +Next, change the current directory to the location of the GoCV repo: cd $HOME/folder/with/your/src/gocv