win7下cmake编译opencv2.3.1生成opencv—createsamples.exe和opencv_haartrainingd.exe
第一步:下载安装cmake,之后进行默认安装即可,这步略过。第二步:配置cmake,使cmake找到opencv进行编译安装第三步:之后找到安装后的文件夹。cmake通过cmakelist生成了非常多project,比如opencv_createsamples.vcproj。opencv_haartraining.vcproj。找到这两个project打开后。直接进行编译。之后在opencv/bi