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: INSTALL.md
+23
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,29 @@ Get OpenCV from homebrew:
73
73
--install`), XCode (from AppStore) or `llvm` (from Brew). You most probably need to also check the item 7 of the
74
74
troubleshooting below.
75
75
76
+
If using system LLVM doesn't work for you you can get it from homebrew:
77
+
```shell script
78
+
brew install llvm
79
+
```
80
+
81
+
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.
82
+
83
+
To take advantage of this automatic detection, refrain from setting the following environment variables:
84
+
85
+
`OPENCV_LINK_LIBS`, `OPENCV_LINK_PATHS`, and `OPENCV_INCLUDE_PATHS`.
86
+
87
+
However, make sure you have configured the following environment variables:
88
+
89
+
`DYLD_FALLBACK_LIBRARY_PATH`, `LDFLAGS` and `LD_LIBRARY_PATH`.
90
+
91
+
If you have not made any custom changes to your installation, the following settings should work for your setup:
0 commit comments