编译报错: error: ‘undistortPoints’ is not a member of ‘cv’
程序员文章站
2022-07-13 22:22:28
...
自己在编译程序的时候,遇到如下报错:
error: ‘undistortPoints’ is not a member of ‘cv’
具体查看程序内容,发现是自己程序中调用了函数 undistortPoints()
,但是自己没有包含对应的头文件:
#include <opencv2/imgproc/imgproc.hpp>
包含头文件后,再次编译就可以编译成功啦~
下一篇: Jquery 图片随鼠标横向滚动
推荐阅读
-
解决Android Studio编译后安装apk报错:Error while Installing APK
-
jQuery的$.get()函数不执行以及php端报错Uncaught Error: Call to a member function bind_param() on boolean in...
-
编译内核时报错:scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory
-
编译报错: error: ‘undistortPoints’ is not a member of ‘cv’
-
【vue】项目编译报错 Error: No PostCSS Config found in...
-
Maven 编译打包报错:程序包org.junit不存在 Error:(3, 29) java: 程序包org.junit.jupiter.api不存在 IDEA
-
解决IDEA导入Eclipse项目时,编译报错“ Error:(1, 1) java: 非法字符: ‘\ufeff’”
-
php编译安装报错:make: *** [sapi/cli/php] Error 1 问题的解决办法
-
编译zabbix3.0安装报错index.php 29 line error
-
php 编译安装报错 configure: error: mcrypt.h not found. Please reinstall libmcrypt.