C++ Hombrew中没有用于opencv安装的选项

C++ Hombrew中没有用于opencv安装的选项,c++,opencv,homebrew,C++,Opencv,Homebrew,当我在终端brew info opencv上运行此命令时,我得到以下答案: opencv: stable 3.3.0 (bottled) Open source computer vision library http://opencv.org/ /usr/local/Cellar/opencv/3.3.0_3 (516 files, 122.9MB) * Poured from bottle on 2017-08-27 at 01:15:27 From: https://github.co

当我在终端
brew info opencv
上运行此命令时,我得到以下答案:

opencv: stable 3.3.0 (bottled)
Open source computer vision library
http://opencv.org/
/usr/local/Cellar/opencv/3.3.0_3 (516 files, 122.9MB) *
  Poured from bottle on 2017-08-27 at 01:15:27
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/opencv.rb
==> Dependencies
Build: cmake ✔, pkg-config ✔
Required: eigen ✔, ffmpeg ✔, jpeg ✔, libpng ✔, libtiff ✔, openexr ✔, numpy ✔
==> Requirements
Required: python ✔, python3 ✔
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/amirhossein/Library/Python/2.7/lib/python/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/amirhossein/Library/Python/2.7/lib/python/site-packages/homebrew.pth

--with--contrib
这样的选项在哪里?如何使用自制的contrib和其他选项安装opencv?

没有这样的选项,因为自制默认使用
contrib
构建
opencv
。两周前,
opencv
导入核心存储库时,所有现有选项都被删除


只需使用
brew安装opencv

尝试
brew选项opencv
brew选项opencv3
,不幸的是什么都没有发生!!嗯,不知道所有的选择都到哪里去了,也不知道为什么。不过,使用
git clone
cmake
安装并不难。我不这么认为@用户2626054你是什么意思?