当前位置:网站首页>Several errors encountered when installing opencv
Several errors encountered when installing opencv
2022-07-06 10:01:00 【A serious vegetable dog】
error 1:
/home/xx/xx/opencv-3.4.x/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:653:20: fatal error: boostdesc_bgm.i: No such file or directory
You need to download several files manually ( Link to comment area , Avoid link failure , I put resources Upload to CSDN), Then put it in the corresponding directory opencv_contrib-3.4.x/modules/xfeatures2d/src/ in .
error 2:
fatal error: opencv2/xfeatures2d/cuda.hpp: No such file or directory
Method 1:
According to the error information , open /home/xx/xx/opencv-3.4.x/modules/stitching/include/opencv2/stitching/detail/matchers.hpp file , take 52 That's ok
#include “opencv2/xfeatures2d/cuda.hpp”
Replace with #include “/home/xx/xx/opencv-3.4.x/opencv_contrib-3.4.x/modules/xfeatures2d/include/opencv2/xfeatures2d/cuda.hpp”
Method 2:
stay /home/xx/xx/opencv-3.4.x/modules/stitching/CMakeLists.txt Add INCLUDE_DIRECTORIES("/home/src/software/opencv-3.4.2/opencv_contrib-3.4.2/modules/xfeatures2d/include")
( The above directories need to be modified into their own actual directories )
边栏推荐
- The governor of New Jersey signed seven bills to improve gun safety
- CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
- 西南大学:胡航-关于学习行为和学习效果分析
- 嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历
- The real future of hardware engineers may not be believed by you if I say so
- vscode 常用的指令
- oracle sys_ Context() function
- 嵌入式中的合作开发--函数指针
- Learning SCM is of great help to society
- Cooperative development in embedded -- function pointer
猜你喜欢

Programmation défensive en langage C dans le développement intégré

15 医疗挂号系统_【预约挂号】

学习单片机对社会的帮助是很大的

Routes and resources of AI

Keep these four requirements in mind when learning single chip microcomputer with zero foundation and avoid detours

Cmooc Internet + education

Installation of pagoda and deployment of flask project

四川云教和双师模式

再有人问你数据库缓存一致性的问题,直接把这篇文章发给他

面试突击62:group by 有哪些注意事项?
随机推荐
Competition vscode Configuration Guide
CANoe CAPL文件操作目录合集
June brush question 02 - string
NLP路线和资源
vscode 常用的指令
51单片机进修的一些感悟
Redis distributed lock implementation redison 15 questions
If a university wants to choose to study automation, what books can it read in advance?
C杂讲 文件 续讲
CANoe不能自动识别串口号?那就封装个DLL让它必须行
Control the operation of the test module through the panel in canoe (primary)
Several ways of MySQL database optimization (pen interview must ask)
大学想要选择学习自动化专业,可以看什么书去提前了解?
颜值爆表,推荐两款JSON可视化工具,配合Swagger使用真香
Canoe cannot automatically identify serial port number? Then encapsulate a DLL so that it must work
oracle sys_ Context() function
如何让shell脚本变成可执行文件
简单解决phpjm加密问题 免费phpjm解密工具
Random notes
硬件工程师的真实前途我说出来可能你们不信