资源描述:
《cmake3.1.0+vs2012生成opencv2.4.10工程 vs2012+opencv环境配置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、Cmake3.1.0+VS2012生成opencv2.4.10工程VS2012+opencv环境配置本机win7系统32位下载了VisualStudio2012、Cmake3.1.0、Opencv2.4.10Vs2012路径:D:softwareVS2012Opencv路径:D:softwareOpencvCmake路径:D:softwareCMake第一步:安装VisualStudio2012遇到如图的问题:将电脑时间设置为2012年08月21日(其实这个日期只要在证书有效期内就可以),然后安装成功了。otherstaffoftheCentre.Duringthewar,Z
2、huwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmiss
3、ions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第二步:安装Cmake3.1.0下载、解压、安装、没遇到什么问题。第三步:用Cmake生成opencv工程打开Cmake在Whereisthesourcecode点击BrowseSource找到D:softwareOpencvopencvsources在Wheretobuildthebinaries点击BrowseBuild找到D:softwareOpencv
4、opencvbuild点击Configure出现如图所示:otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwes
5、tOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,MinistersandotherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSe
6、cretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitte
7、eSecretary,Ministersand点击Configure多次直到出现如图所示没有红色:点击Generate生成Opencv工程,退出Cmake碰到一下错误:Errorinconfiguratio...可以卸载并且重装Cmake找不到CmakeLists.txt。是第一个输入框中路径导致的。第四步:用OpencvVS2012工程编译生成自己的Opencv库在路径:D:softwareOpencvopencvbuil