Linux opencv 安装与删除
安装:1:下载opencv.2.4.13.tar.gz2: 解压 tar -xzvf opencv.2.4.13.tar.gz 3: cd OpenCV-2.4.134: cmake CMakeLists.txt5: make install 删除opencv1:yum remove opencv2:模糊删除 find -name
·
安装:
1:下载opencv.2.4.13.tar.gz
2: 解压 tar -xzvf opencv.2.4.13.tar.gz
3: cd OpenCV-2.4.13
4: cmake CMakeLists.txt
5: make install
6:配置 vim /etc/ld.so.conf.d/opencv.conf 加入 /usr/local/lib
7:g++ `pkg-config opencv --libs --cflags opencv` hehe.c -o hehe
删除opencv
1:yum remove opencv
2: make uninstall
2:模糊删除 find -name "*opencv*" | xargs rm -rf
更多推荐
已为社区贡献4条内容
所有评论(0)