You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,27 @@ Get OpenCV from homebrew:
97
97
--install`), XCode (from AppStore) or `llvm` (from Brew). You most probably need to also check the item 7 of the
98
98
troubleshooting below.
99
99
100
+
Get llvm from homebrew
101
+
```shell script
102
+
brew install llvm
103
+
```
104
+
105
+
If you have already installed OpenCV via Homebrew, there is no need to configure any environment variables specifically for OpenCV on macOS. The OpenCV installation can be automatically detected if it was installed through Homebrew.
106
+
107
+
To take advantage of this automatic detection, refrain from setting the following environment variables:
108
+
`OPENCV_LINK_LIBS`, `OPENCV_LINK_PATHS`, and `OPENCV_INCLUDE_PATHS`.
109
+
110
+
However, make sure you have configured the following environment variables:
111
+
`DYLD_FALLBACK_LIBRARY_PATH`, `LDFLAGS` and `LD_LIBRARY_PATH`.
112
+
113
+
If you have not made any custom changes to your installation, the following settings should work for your setup:
0 commit comments