配置OPENCV2413在VS2013中

网上的教程有两种

一:较高版本直接在工程的属性页内配置

https://www.cnblogs.com/jisongxie/p/9316283.html

到最后会发现2413的lib里面没有opencv_world2413.lib所以放弃了

PS:https://blog.csdn.net/hujingshuang/article/details/43193747这里是TCP的视频传输教程

二:VS13 OPENCV24的配置

https://www.cnblogs.com/sdxk/p/4033667.html

配置好了之后发现报错:错误    1    error LNK1104: 无法打开文件“opencv_calib3d2413.lib”    Z:\VS\TCPIPhomework2\VideoTest\VideoTest\LINK    VideoTest

我的配置文件如下:



 
 
 
    $(OPENCV)\include;$(IncludePath)
    $(OPENCV)\x86\vc12\staticlib;$(OPENCV)\x86\vc12\lib;$(LibraryPath)
    $(OPENCV)\x64\vc12\staticlib;$(OPENCV)\x64\vc12\lib;$(LibraryPath)
 

 
   
      opencv_calib3d2413.lib;opencv_contrib2413.lib;opencv_core2413.lib;opencv_features2d2413.lib;opencv_flann2413.lib;opencv_gpu2413.lib;opencv_highgui2413.lib;opencv_imgproc2413.lib;opencv_legacy2413.lib;opencv_ml2413.lib;opencv_nonfree2413.lib;opencv_objdetect2413.lib;opencv_ocl2413.lib;opencv_photo2413.lib;opencv_stitching2413.lib;opencv_superres2413.lib;opencv_ts2413.lib;opencv_video2413.lib;opencv_videostab2413.lib;%(AdditionalDependencies)
   
   
      opencv_calib3d2413d.lib;opencv_contrib2413d.lib;opencv_core2413d.lib;opencv_features2d2413d.lib;opencv_flann2413d.lib;opencv_gpu2413d.lib;opencv_highgui2413d.lib;opencv_imgproc2413d.lib;opencv_legacy2413d.lib;opencv_ml2413d.lib;opencv_nonfree2413d.lib;opencv_objdetect2413d.lib;opencv_ocl2413d.lib;opencv_photo2413d.lib;opencv_stitching2413d.lib;opencv_superres2413d.lib;opencv_ts2413d.lib;opencv_video2413d.lib;opencv_videostab2413d.lib;%(AdditionalDependencies)
   
 

 

问题解决待续。

配置问题解决!

按照这个上面的配置,可以,十分快速的解决了OpenCV2.4.13+VS2013环境配置

我放在Z:\VS\TCPIPhomework2\OPENCV配置表下

配置OPENCV2413在VS2013中_第1张图片

分享一下:

PropertySheet.props



  
  
  
    Z:\opencv2.4.13\opencv\build\include\opencv;Z:\opencv2.4.13\opencv\build\include\opencv2;Z:\opencv2.4.13\opencv\build\include;$(IncludePath)
    Z:\opencv2.4.13\opencv\build\x86\vc12\lib;$(LibraryPath)
  
  
    
      opencv_calib3d2413d.lib;opencv_contrib2413d.lib;opencv_core2413d.lib;opencv_features2d2413d.lib;opencv_flann2413d.lib;opencv_gpu2413d.lib;opencv_highgui2413d.lib;opencv_imgproc2413d.lib;opencv_legacy2413d.lib;opencv_ml2413d.lib;opencv_nonfree2413d.lib;opencv_objdetect2413d.lib;opencv_ocl2413d.lib;opencv_photo2413d.lib;opencv_stitching2413d.lib;opencv_superres2413d.lib;opencv_ts2413d.lib;opencv_video2413d.lib;opencv_videostab2413d.lib;%(AdditionalDependencies)
    
  
  

Release_PropertySheet1.props



  
  
  
    Z:\opencv2.4.13\opencv\build\include;Z:\opencv2.4.13\opencv\build\include\opencv;Z:\opencv2.4.13\opencv\build\include\opencv2;$(IncludePath)
    Z:\opencv2.4.13\opencv\build\x86\vc12\lib;$(LibraryPath)
  
  
    
      opencv_objdetect2413.lib;
opencv_ts2413.lib;
opencv_video2413.lib;
opencv_nonfree2413.lib;
opencv_ocl2413.lib;
opencv_photo2413.lib;
opencv_stitching2413.lib;
opencv_superres2413.lib;
opencv_videostab2413.lib;
opencv_calib3d2413.lib
;opencv_contrib2413.lib;
opencv_core2413.lib
;opencv_features2d2413.lib;
opencv_flann2413.lib
;opencv_gpu2413.lib;
opencv_highgui2413.lib
;opencv_imgproc2413.lib
;opencv_legacy2413.lib;
opencv_ml2413.lib;%(AdditionalDependencies)
    
  
  

 

你可能感兴趣的:(配置OPENCV2413在VS2013中)