程序报错及解决过程记录
【1】 2010vc++报错:#error : “OpenCV 4.x+ requires enabled C++11 support”
【1经过搜索】建议使用vs2013或者更高版本。vs2010是绝对不支持的。
【2】下载使用vs2015后,运行程序出现
【2经过搜索】
来自https://blog.csdn.net/qq_25038325/article/details/100922393
【3】
【答】将mat函数定义在main函数前。
【4】未定义标识符vector
【答】加#include
加using namespace std;
【5】pycharm配置opencv配置时失败
在cmd中进入python.exe所在地址。在pycharm安装时候报错Make sure that you use the correct version of ‘pip’ installed for your Python interpreter