VS2013导入opencv320配置属性文件

1.

环境变量
D:\Libraries\OpenCV320\msvc2013_64\x64\vc12\bin

注销,生效 
opencv320.props 配置属性文件

"1.0" encoding="utf-8"?>  
"4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">  
  "PropertySheets" />  
  "UserMacros" />  
    
    D:\Libraries\OpenCV320\msvc2013_64\include;$(IncludePath)  
    "'$(Platform)'=='X64'">D:\Libraries\OpenCV320\msvc2013_64\x64\vc12\lib;$(LibraryPath)  
    
    
    "'$(Configuration)'=='Debug'">  
      opencv_calib3d320d.lib;opencv_core320d.lib;
      opencv_cudaarithm320d.lib;opencv_cudabgsegm320d.lib;opencv_cudacodec320d.lib;
      opencv_cudafeatures2d320d.lib;opencv_cudafilters320d.lib;opencv_cudaimgproc320d.lib;
      opencv_cudalegacy320d.lib;opencv_cudaobjdetect320d.lib;opencv_cudaoptflow320d.lib;
      opencv_cudastereo320d.lib;opencv_cudawarping320d.lib;opencv_cudev320d.lib;
      opencv_features2d320d.lib;opencv_flann320d.lib;opencv_highgui320d.lib;
      opencv_imgcodecs320d.lib;opencv_imgproc320d.lib;opencv_ml320d.lib;
      opencv_objdetect320d.lib;opencv_photo320d.lib;opencv_shape320d.lib;
      opencv_stitching320d.lib;opencv_superres320d.lib;opencv_video320d.lib;
      opencv_videoio320d.lib;opencv_videostab320d.lib;
      opencv_aruco320d.lib;opencv_bgsegm320d.lib;opencv_bioinspired320d.lib;
      opencv_ccalib320d.lib;opencv_datasets320d.lib;opencv_dnn320d.lib;
      opencv_dpm320d.lib;opencv_face320d.lib;opencv_fuzzy320d.lib;
      opencv_line_descriptor320d.lib;opencv_optflow320d.lib;opencv_phase_unwrapping320d.lib;
      opencv_plot320d.lib;opencv_reg320d.lib;opencv_rgbd320d.lib;opencv_saliency320d.lib;
      opencv_stereo320d.lib;opencv_structured_light320d.lib;opencv_superres320d.lib;
      opencv_surface_matching320d.lib;opencv_text320d.lib;opencv_tracking320d.lib;
      opencv_xfeatures2d320d.lib;opencv_ximgproc320d.lib;opencv_xobjdetect320d.lib;
      opencv_xphoto320d.lib;
      %(AdditionalDependencies)  
      
    "'$(Configuration)'=='Release'">  
      opencv_calib3d320.lib;opencv_core320.lib;
      opencv_cudaarithm320.lib;opencv_cudabgsegm320.lib;opencv_cudacodec320.lib;
      opencv_cudafeatures2d320.lib;opencv_cudafilters320.lib;opencv_cudaimgproc320.lib;
      opencv_cudalegacy320.lib;opencv_cudaobjdetect320.lib;opencv_cudaoptflow320.lib;
      opencv_cudastereo320.lib;opencv_cudawarping320.lib;opencv_cudev320.lib;
      opencv_features2d320.lib;opencv_flann320.lib;opencv_highgui320.lib;
      opencv_imgcodecs320.lib;opencv_imgproc320.lib;opencv_ml320.lib;
      opencv_objdetect320.lib;opencv_photo320.lib;opencv_shape320.lib;
      opencv_stitching320.lib;opencv_superres320.lib;opencv_video320.lib;
      opencv_videoio320.lib;opencv_videostab320.lib;
      opencv_aruco320.lib;opencv_bgsegm320.lib;opencv_bioinspired320.lib;
      opencv_ccalib320.lib;opencv_datasets320.lib;opencv_dnn320.lib;
      opencv_dpm320.lib;opencv_face320.lib;opencv_fuzzy320.lib;
      opencv_line_descriptor320.lib;opencv_optflow320.lib;opencv_phase_unwrapping320.lib;
      opencv_plot320.lib;opencv_reg320.lib;opencv_rgbd320.lib;opencv_saliency320.lib;
      opencv_stereo320.lib;opencv_structured_light320.lib;opencv_superres320.lib;
      opencv_surface_matching320.lib;opencv_text320.lib;opencv_tracking320.lib;
      opencv_xfeatures2d320.lib;opencv_ximgproc320.lib;opencv_xobjdetect320.lib;
      opencv_xphoto320.lib;
      %(AdditionalDependencies)  
      
    
    
  
2.
    vs2012新建项目->visual c++->win32控制台应用
程序->下一步->选择空项目完成-->新建.cpp

3.调整编译位数 
    vs菜单栏选择项目->属性->右侧配置管理器->平台的下
拉勾选择新建->选择x64->确定

4.属性管理器(64位的是操作Debug|win64,Release|win64)

5.接下来直接导入配置属性文件opencv320.props

具体是:
       Debug|x64右键->添加现有属性表—>选中opencv320.props
       Release|x64右键->添加现有属性表—>选中opencv320.props

http://m.blog.csdn.net/guduruyu/article/details/75371001

CUDA 8.0 + VS2013 + win7 x64开发环境搭建http://blog.csdn.net/lvfeiya/article/details/53325784

你可能感兴趣的:(VS2010+OpenCV)