【Ubuntu+OpenCV】Ubuntu11.04下OpenCV2.1环境搭建--学习笔记【0】

另外一篇

ubuntu11.04安装opencv2.2的几种方法的比较

一、查询OpenCV相关软件包


*****@ubuntu:~$ apt-cache search opencvharpia - Image Processing/Computer Vision Automatic Prgm. Toollibcv-dev - development files for libcvlibcv2.1 - computer vision librarylibcvaux-dev - development files for libcvauxlibcvaux2.1 - computer vision extension librarylibhighgui-dev - development files for libhighguilibhighgui2.1 - computer vision GUI libraryopencv-doc - OpenCV documentation and examplespython-opencv - Python bindings for the computer vision library


二、安装相关软件包

sudo apt-get install libcv-dev libcvaux-dev libhighgui-dev libcv2.1 libcvaux2.1 libhighgui2.1

 

该命令安装opencv相应的库函数、库文件……

 

三、编译你自己的程序的时候所用的选项

gcc `pkg-config  --libs --cflags opencv`  xx.c -o yy








【Ubuntu+OpenCV】Ubuntu11.04下OpenCV2.1环境搭建--学习笔记【0】_第1张图片







 四、题外话





      你知道opencv到底安装在哪里吗?  终端->输入 locate opencv 



你可能感兴趣的:(python,ubuntu,search,documentation,library,extension)