当前位置:网站首页>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 32 year old programmer left and was admitted by pinduoduo and foreign enterprises. After drying out his annual salary, he sighed: it's hard to choose
- Control the operation of the test module through the panel in canoe (primary)
- The replay block of canoe still needs to be combined with CAPL script to make it clear
- 112 pages of mathematical knowledge sorting! Machine learning - a review of fundamentals of mathematics pptx
- 如何让shell脚本变成可执行文件
- Random notes
- C杂讲 文件 续讲
- May brush question 03 - sorting
- Notes of Dr. Carolyn ROS é's social networking speech
- docker MySQL解决时区问题
猜你喜欢

Cmooc Internet + education
![17 medical registration system_ [wechat Payment]](/img/b4/f9abfa0fb0447d727078069d888b57.png)
17 medical registration system_ [wechat Payment]

Carolyn Rosé博士的社交互通演讲记录

Some thoughts on the study of 51 single chip microcomputer

Regular expressions are actually very simple

jar运行报错no main manifest attribute

嵌入式开发中的防御性C语言编程

Counter attack of noodles: redis asked 52 questions in a series, with detailed pictures and pictures. Now the interview is stable

Write your own CPU Chapter 10 - learning notes

听哥一句劝,按这套嵌入式的课程内容和课程体系去学习
随机推荐
112 pages of mathematical knowledge sorting! Machine learning - a review of fundamentals of mathematics pptx
四川云教和双师模式
Zsh configuration file
Retention policy of RMAN backup
NLP routes and resources
Defensive C language programming in embedded development
Target detection -- yolov2 paper intensive reading
Sichuan cloud education and double teacher model
Nc29 search in two-dimensional array
Redis distributed lock implementation redison 15 questions
Delayed note learning
宝塔的安装和flask项目部署
Popularization of security knowledge - twelve moves to protect mobile phones from network attacks
If a university wants to choose to study automation, what books can it read in advance?
NLP路线和资源
The governor of New Jersey signed seven bills to improve gun safety
cmooc互联网+教育
CANoe下载地址以及CAN Demo 16的下载与激活,并附录所有CANoe软件版本
Regular expressions are actually very simple
A new understanding of RMAN retention policy recovery window