这里直接使用命令行去搭建opencv的环境:
sudo apt-get update
sudo apt-get install libcv-dev libcvaux-dev sudo apt-get libhighgui-dev libcv2.1 libcvaux2.1 libhighgui2.1