Linux 安装Opencv3.2
ippicv
将下载好的文件拷贝到
'''
<opencv_dir>/3rdparty/ippicv/downloads/linux-808b791a6eac9ed78d32a7666804320e/
'''
覆盖。
vtk & cuda disable
'''
cmake -D CMAKE_BUILD_TYPE=RELEASE -DWITH_VTK=Off -D BUILD_opencv_gpu=OFF -D CMAKE_INSTALL_PREFIX=/usr/local ..
make
'''
bash env set
'''
export LIBRARY_PATH=/usr/local/lib/opencv/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib/opencv/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:$PKG_CONFIG_PATH
/usr/local/lib/pkgconfig/
export PYTHONPATH=/usr/local/lib/python2.7/dist-packages:$PYTHONPATH
'''