主題: opencv install
很難安裝, 筆記一下
Ubuntu 14.10
- pre install QT4
apt-get install qt4-default libqt4-dev qtchooser qt4-designer
- git clone opencv
git clone https://github.com/Itseez/opencv.git
cd opencv
mkdir release
cd release
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..
sudo make
sudo make install
成功
MAC OS Yosemite 10.10.4
直接brew install opencv會有問題
- 一樣要先裝QT, 但要brew要多下"build-from-source"的option
brew install qt --build-from-source- git clone opencv(這邊就和上面一樣)
失敗...
沒有留言:
張貼留言