brew で opencv をインストールしようとしていますが、
しかし、次のエラーが表示されました。
「brew tap homebrew/homebrew-science」をタップする必要があることはわかっていました
しかし、うまくいきませんでした。
問題をすばやく修正するには、どのコマンドでどの情報を表示する必要がありますか。
ありがとう〜
[local] $ brew update
Error: Permission denied - /var/folders/wt/ffjhmkgx4292wtm22b966mdc0000gn/T/.gitignore20130904-819-fdlv65-0 or /usr/local/Library/Formula/.gitignore
[local] $ sudo brew update
Already up-to-date.
[local] $ sudo brew install opencv
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
Error: No available formula for opencv
[local] $ brew tap homebrew/homebrew-science
Error: Already tapped!
[local] $ sudo brew tap homebrew/homebrew-science
Error: Already tapped!
[local] $ sudo brew install opencv
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
Error: No available formula for opencv
[local] $ brew install opencv
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
Error: No available formula for opencv
チュートリアルhttp://tilomitra.com/opencv-on-mac-osx/で手動で作成しようとすると 、make -j8 の後にエラーが表示されます
_ff_xvid_rate_control_uninit in libavcodec.a(libxvid_rc.o)
"_xvid_plugin_lumimasking", referenced from:
_xvid_encode_init in libavcodec.a(libxvid.o)
"_xvid_plugin_single", referenced from:
_xvid_encode_init in libavcodec.a(libxvid.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libopencv_highgui.2.4.6.dylib] Error 1
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make: *** [all] Error 2