Problems encountered:
(1) Mac installation OPENCV download ippicv_macosx_20141027.tgz failure solution
Please attach the error message at that time:
--icv:downloading ippicv_macosx_20141027.tgz ... CMake Error at 3rdparty/ippicv/downloader.cmake: in(file): fileDOWNLOAD HASH mismatch for file: [/users/zhaozhaokaliang/opencv-3.0.0/3rdparty/ippicv/downloads/macosx-9662fe0694a67e59491a0dcc82fa26e0/Ippicv_macosx_20141027.tgz] Expected hash: [9662FE0694A67E59491A0DCC82FA26E0] actual hash: [14cb99aa35c53a Dfb648ca84e9790a82] Status: [ About;"Failure when receiving data from the peer"]................
In short, cmake in the download ippicv_macosx_20141027.tgz this file encountered an error, resulting in the download of the file hash value and expected hash value is different, so we need to download ippicv_macosx_20141027 ourselves. tgz this file and overwrite the past.
:
http://download.csdn.net/detail/alanzjl/8961695
If you use Safari to download, you should carefully look at the suffix is not tgz, because the system may be automatically decompressed to tar, so that in the re-encapsulation into tgz, the hash value will change, or not succeed. So you can download it in a different browser, or go to the terminal and use the wget command to download
wget http://www.mirrorservice.org/sites/dl.sourceforge.net/pub/sourceforge/o/op/ Opencvlibrary/3rdparty/ippicv/ippicv_macosx_20141027.tgz
To overwrite the downloaded file to the directory mentioned in the error message, everyone's directory may be different, for example, mine is
/Users/zhaozhaokaliang/opencv-3.0.0/3rdparty/ippicv/downloads/macosx-9662fe0694a67e59491a0dcc82fa26e0/ippicv_macosx_20141027.tgz
Copyright Notice: Bo Master original article reproduced please indicate the source. Welcome to Personal Homepage: alanzjl.sinaapp.com
(2) If there is no wget in the new Mac, what should I do? Well, that's Ann. How about Ann?
Because software can have dependencies, it is better to use homebrew in order to avoid unnecessary hassles.
And what about the homebrew? That's right, too. All right, let's go.
1: About Homebrew
Homebrew Online version A lot: I used a few are showing 404 Bad Request
Cannot now
There is a URL that gives the latest installation address: the URL is:http://brew.sh/index_zh-cn.html
At the bottom of the website is given the latest in downloading homebrew via terminal:
The most recent path I have downloaded is:
" $ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install) "
Then installing the wget is easy.
Install wget
Troubleshoot problems with installing OPENCV under MAC (Install Homebrew, wget)