资源描述:
《vs2010 + opencv2.4.3 安装与设置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、http:\www.opencv.org.cnforumviewtopic.php?f=1&t=23507&p=68004&hilit=2.4.3#p68004网址VS2010+OpenCV2.4.3安装与设置VS2010+OpenCV2.4.3VS2010+OpenCV2.4.3====================================================一.OpenCV的编译安装:1.解压OpenCV-2.4.3.exe->D:OpenCVResourcesOpenCV-2.4.3opencv2.运行CMake,为VS
2、编译.Whereisthesourcecode(源码):D:OpenCVResourcesOpenCV-2.4.3opencvWhereisbuildthebinaries(目标):D:OpenCVResourcesOpenCV-2.4.3opencvvs2010Configure:选择VisualStudio10?Generate:生成目标3.打开D:OpenCVResourcesOpenCV-2.4.3opencvvs2010,用对应版本的VS打开OpenCV.sln...A.编译OpenCV方案Debug版本:(1),编译Op
3、enCV方案(Debug):在VS工作区界面左侧方案浏览器(SolutionExplorer)中选中最顶项方案"Solution'OpenCV'(61projects)",确定SolutionConfigure为Debug,右键执行BuildSoluton(编译方案);(2),编译ALL_BUILD项目(Debug):在VS工作区界面左侧方案浏览器(SolutionExplorer)列表中选中项目"ALL_BUILD",确定SolutionConfigure为Debug,右键执行Build(编译项目);(3),编译CMakeTargetsINSTALL项目(D
4、ebug):在VS工作区界面左侧方案浏览器(SolutionExplorer)列表中选中"CMakeTargetsINSTALL"项目,确定SolutionConfigure为Debug,右键执行Build(编译项目);B.编译OpenCV方案Release版本:(1),编译OpenCV方案(Release):在VS工作区界面左侧方案浏览器(SolutionExplorer)中选中最顶项方案"Solution'OpenCV'(61projects)",确定SolutionConfigure为Release,右键执行BuildSoluton(编译方案);(2),
5、编译ALL_BUILD项目(Release):在VS工作区界面左侧方案浏览器(SolutionExplorer)列表中选中项目"ALL_BUILD",确定SolutionConfigure为Release,右键执行Build(编译项目);(3),编译CMakeTargetsINSTALL项目(Release):在VS工作区界面左侧方案浏览器(SolutionExplorer)列表中选中"CMakeTargetsINSTALL"项目,确定SolutionConfigure为Release,右键执行Build(编译项目);otherstaffoftheCentr
6、e.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterpri
7、sesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand4.检查编译后的结果:D:OpenCVResourcesOpenCV-2.4.3opencvvs2010bin:有DebugRelease两目录及相关文件资源;D:OpenCVResourcesOpenCV-2.4.3opencvvs2010lib:有DebugR
8、elease两目录及相关