- 1、本文档共3页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Ubuntu9.10opencv2.0.doc
Ubuntu 9.10 opencv2.0
Hint: steps below assume you have installed gcc,g++,make.
1 Get the update software package information
$sudo apt-get update
2 Search for software package related to OpenCV
$ apt-cache search opencv
3 Install the relevant dependent librariessudo apt-get install libv4l-dev libv4l-0 libboost1.40-all-dev? libusb-1.0-0-dev libgtk2.0-dev libgsl0-dev
注意:小写的L与数字1别弄混。
4Download OpenCV-2.0.0.tar.bz2 from /projects/opencvlibrary
5 Go to the folder where OpenCV-2.0.0.tar.bz2 is.
cd /usr/local/opencv
sudo tar vxf OpenCV-2.0.0.tar.bz2
6 Go to the folder OpenCV-2.0.0 to configure
Sudo ./configure --with-v4l=yes --with-dc1394v2=no --with-quicktime=no --disable-debug --with-swig=no --with-python=no --with-ffmpeg=no
7Compile
sudo make
8Install opencv
sudo make installsudo make uninstall
if successful:
9 Update dynamic link library that provision of the relevant library path
$ export LD_LIBRARY_PATH=/usr/local/opencv/lib:$LD_LIBRARY_PATH
$ echo $LD_LIBRARY_PATH
10set pkg-config:sudo export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opencv/lib/pkgconfig
11 Test if succesfull:
sudo g++ `pkg-config opencv --libs --cflags opencv` drawing.c -o drawing.out
sudo ./drawing.out
您可能关注的文档
- ThermalAnalysisandCharacterizationofsomeCellulosic.doc
- TheRoleofAntioxidantsinHu-.PDF
- Theseapplicationdirectionsmust.PDF
- ThesisResearchTrainingProgramApplication(2017-2018).doc
- TheSolutionforCassandraatScale.PDF
- THESTUDYOFIMPACTRESPONSEOF.PDF
- TheTOEFLTestAdvantage.PDF
- TheUltimateShockAbsorber.PDF
- TheWebofMeaningTheBusinessValueoftheSemanticWeb.ppt
- through.NETTechnology.PDF
文档评论(0)