我只是按照
上的教程并设置项目属性 - > C / c ++目录到C:\ opencv \ build \ include
和链接器 - >添加库目录到C:\ opencv \ build \ x64 \ vc12 \ lib
链接器 - >输入: opencv_calib3d2411d.lib opencv_contrib2411d.lib opencv_core2411d.lib opencv_features2d2411d.lib opencv_flann2411d.lib opencv_gpu2411d.lib opencv_highgui2411d.lib opencv_imgproc2411d.lib opencv_legacy2411d.lib opencv_ml2411d.lib opencv_nonfree2411d.lib opencv_objdetect2411d.lib opencv_ocl2411d.lib opencv_photo2411d.lib opencv_stitching2411d.lib opencv_superres2411d.lib opencv_ts2411d。 lib opencv_video2411d.lib opencv_videostab2411d.lib
并在此处使用测试代码
http://docs.opencv.org/_downloads/introduction_windows_vs.cpp
它成功构建但是当我运行它时只说:应用程序无法正确启动(0xc00007b)