我已经按照本教程安装了 qt 5.0.2 和 opencv 2.4.5 和 windows 7 32 位,但是当我完成后,我使用上一个链接中提到的示例对其进行了测试,但我遇到了这个错误
error: opencv2/core/core.hpp: No such file or directory
更新
前 5 个错误:
C:\opencv\opencv_bin\install\include\opencv2\core\core.hpp:4341: In file included from ..\..\..\..\..\..\opencv\opencv_bin\install\include/opencv2/core/core.hpp:4341:0,
C:\Qt\Qt5.0.2\Tools\QtCreator\bin\test2\main.cpp:2: from ..\test2\main.cpp:2:
C:\opencv\opencv_bin\install\include\opencv2\core\operations.hpp:928: error: prototype for 'cv::Vec<_Tp, n> cv::Matx<_Tp, m, n>::solve(const cv::Vec<_Tp, m>&, int) const' does not match any in class 'cv::Matx<_Tp, m, n>'
C:\Qt\Qt5.0.2\Tools\QtCreator\bin\test2\main.cpp:2: In file included from ..\test2\main.cpp:2:0:
C:\opencv\opencv_bin\install\include\opencv2\core\core.hpp:495: error: candidates are: cv::Matx<_Tp, n, 1> cv::Matx<_Tp, m, n>::solve(const cv::Matx<_Tp, m, 1>&, int) const
任何人都可以帮助我确定是什么问题以及如何解决它。