OpenCV2.2+VC2005 fatal error C1083: Cannot open include file:’opencv2/core/core_c.h': No such file or directory

  • 2015-01-19
  • 884℃
Share:

问题描述:

按照官网提供的方法设置完后,编译程序,出现如下错误:

1>d:/program files/opencv-2.2.0/vc2005/include/opencv/highgui.h(45) : fatal error C1083: Cannot open include file: ‘opencv2/core/core_c.h': No such file or directory

错误原因:包含文件设置不全,只包含了一个opencv,需要再添加一个包含文件

 

解决办法:

include files,加入目录 D:/Program Files/OpenCV-2.2.0/vc2005/include。

即:

D:/Program Files/OpenCV-2.2.0/vc2005/include

D:/Program Files/OpenCV-2.2.0/vc2005/include/opencv

最新
业务QQ