我的项目需要使用 OpenCV 2.4.4 版本,但由于某种原因,我无法使用自制软件安装它。
当我运行自制版本的 opencv 时,我得到:
/usr/local$ brew versions opencv
2.4.5 git checkout ae74fe9 /usr/local/Library/Taps/homebrew-science/opencv.rb
2.4.4a git checkout 3efa797 /usr/local/Library/Taps/homebrew-science/opencv.rb
2.4.4 git checkout d85d011 /usr/local/Library/Taps/homebrew-science/opencv.rb
2.4.3 git checkout 8cb3f45 /usr/local/Library/Taps/homebrew-science/opencv.rb
2.4.2 git checkout b64b319 /usr/local/Library/Taps/homebrew-science/opencv.rb
2.4.1 git checkout 3d32cf1 /usr/local/Library/Taps/homebrew-science/opencv.rb
2.4.0 git checkout 2a8c46b /usr/local/Library/Taps/homebrew-science/opencv.rb
2.3.1a git checkout cdaf83d /usr/local/Library/Taps/homebrew-science/opencv.rb
2.2 git checkout 032047f /usr/local/Library/Taps/homebrew-science/opencv.rb
2.1.1-pre git checkout 2438f42 /usr/local/Library/Taps/homebrew-science/opencv.rb
HEAD git checkout c658897 /usr/local/Library/Taps/homebrew-science/opencv.rb
2.1.0 git checkout ecb6a3e /usr/local/Library/Taps/homebrew-science/opencv.rb
/usr/local$ git checkout d85d011 /usr/local/Library/Taps/homebrew-science/opencv.rb
但是当我运行时:
git checkout d85d011 /usr/local/Library/Taps/homebrew-science/opencv.rb
我得到:
error: pathspec 'd85d011' did not match any file(s) known to git.
error: pathspec 'Library/Taps/homebrew-science/opencv.rb' did not match any file(s) known to git.