メモ
普通に、
$ brew install opencv
したら以下のようなエラーがでた
Error: You must `brew link cmake' before opencv can be installed
まぁとりあえず言われた通りにするかってことで実行
$ brew link cmake
またエラー…
Error: Could not symlink file: /usr/local/Cellar/cmake/2.8.10.2/bin/ctest Target /usr/local/bin/ctest already exists. You may need to delete it. To force the link and delete this file, do: brew link --overwrite formula_name To list all files that would be deleted: brew link --overwrite --dry-run formula_name
以下を実行した
$ brew link --overwrite cmake
なんかいけたっぽいからopenCV入れる
$ brew install opencv
成功!!!!!!