"Wrong usage of OpenCV's Eigen utility header. Include Eigen's headers first.
时间: 2024-05-08 20:15:50 浏览: 121
基于Harris角点检测+BRIEF+RANSAC算法实现无人机图像拼接C++源码(使用Opencv+Eigen库).zip
"
This error message occurs when the user tries to include OpenCV's Eigen utility header without including Eigen's headers first. Eigen is a third-party linear algebra library that OpenCV uses for some of its operations.
To fix this error, the user should include Eigen's headers before including any OpenCV headers that use Eigen. This can be done by adding the following line at the beginning of the file:
```cpp
#include <Eigen/Core>
```
After including Eigen's headers, the user can then include any OpenCV headers that use Eigen without encountering this error.
阅读全文