当前位置:网站首页>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 )
边栏推荐
- MySQL实战优化高手08 生产经验:在数据库的压测过程中,如何360度无死角观察机器性能?
- How can I take a shortcut to learn C language in college
- The real future of hardware engineers may not be believed by you if I say so
- The governor of New Jersey signed seven bills to improve gun safety
- Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
- Day 5 of MySQL learning
- 17 medical registration system_ [wechat Payment]
- Why data Tiering
- Summary of May training - from a Guang
- [CV] target detection: derivation of common terms and map evaluation indicators
猜你喜欢
在CANoe中通过Panel面板控制Test Module 运行(初级)
Several silly built-in functions about relative path / absolute path operation in CAPL script
CANoe下载地址以及CAN Demo 16的下载与激活,并附录所有CANoe软件版本
Embedded development is much more difficult than MCU? Talk about SCM and embedded development and design experience
《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
112 pages of mathematical knowledge sorting! Machine learning - a review of fundamentals of mathematics pptx
Cmooc Internet + education
The 32-year-old fitness coach turned to a programmer and got an offer of 760000 a year. The experience of this older coder caused heated discussion
嵌入式开发中的防御性C语言编程
CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
随机推荐
17 医疗挂号系统_【微信支付】
Docker MySQL solves time zone problems
Southwest University: Hu hang - Analysis on learning behavior and learning effect
颜值爆表,推荐两款JSON可视化工具,配合Swagger使用真香
Some thoughts on the study of 51 single chip microcomputer
Hero League rotation chart manual rotation
学习单片机对社会的帮助是很大的
C杂讲 文件 初讲
Hero League rotation map automatic rotation
面试突击62:group by 有哪些注意事项?
Which is the better prospect for mechanical engineer or Electrical Engineer?
[flask] crud addition and query operation of data
Write your own CPU Chapter 10 - learning notes
嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历
Random notes
如何让shell脚本变成可执行文件
VH6501学习系列文章
Why data Tiering
CANoe下载地址以及CAN Demo 16的下载与激活,并附录所有CANoe软件版本
Notes of Dr. Carolyn ROS é's social networking speech