包含目录:解决代码报错问题
F:
dkopencv-windowsopencvuildinclude;F:
dkopencv-windowsopencvsourcesinclude;F:
dkopencv-windowsopencvuildincludeopencv;F:
dkopencv-windowsopencvuildincludeopencv2;F:
dkopencv-windowsopencvsourcesincludeopencv2;F:AppOpencvopencvsourcesinclude;F:AppOpencvopencvuildinclude;F:AppOpencvopencvuildincludeopencv2;F:AppOpencvopencvuildincludeopencv;$(IncludePath)
库目录:解决link的error
F:
dkopencv-windowsopencvuildx86vc12lib;$(LibraryPath);$(VC_LibraryPath_x86)
链接器-输入-附加依赖库 这是opencv要使用的lib库
opencv_ml248d.lib;opencv_calib3d248d.lib;opencv_contrib248d.lib;opencv_core248d.lib;opencv_features2d248d.lib;opencv_flann248d.lib;opencv_gpu248d.lib;opencv_highgui248d.lib;opencv_imgproc248d.lib;opencv_legacy248d.lib;opencv_objdetect248d.lib;opencv_ts248d.lib;opencv_video248d.lib;opencv_nonfree248d.lib;opencv_ocl248d.lib;opencv_photo248d.lib;opencv_stitching248d.lib;opencv_superres248d.lib;opencv_videostab248d.lib
以上就可以生成exe了
在debug里打开exe
如果找不到dll就注册一下
regsvr32 F:
dkopencv-windowsopencvuildx64vc12inopencv_core248d.dll