当前位置:网站首页>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
- How can I take a shortcut to learn C language in college
- 33岁可以学PLC吗
- 嵌入式开发中的防御性C语言编程
- 再有人问你数据库缓存一致性的问题,直接把这篇文章发给他
- Learning SCM is of great help to society
- Hero League rotation map automatic rotation
- 西南大学:胡航-关于学习行为和学习效果分析
- 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杂讲 文件 续讲
猜你喜欢

51单片机进修的一些感悟

Popularization of security knowledge - twelve moves to protect mobile phones from network attacks

Une grande vague d'attaques à la source ouverte

Cmooc Internet + education

MySQL实战优化高手12 Buffer Pool这个内存数据结构到底长个什么样子?

14 医疗挂号系统_【阿里云OSS、用户认证与就诊人】

C miscellaneous dynamic linked list operation

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

西南大学:胡航-关于学习行为和学习效果分析

33岁可以学PLC吗
随机推荐
PR 2021 quick start tutorial, first understanding the Premiere Pro working interface
在CANoe中通過Panel面板控制Test Module 運行(初級)
Installation of pagoda and deployment of flask project
学习单片机对社会的帮助是很大的
Teach you how to write the first MCU program hand in hand
Compress decompress
机械工程师和电气工程师方向哪个前景比较好?
cmooc互联网+教育
一大波开源小抄来袭
Redis distributed lock implementation redison 15 questions
MySQL实战优化高手12 Buffer Pool这个内存数据结构到底长个什么样子?
June brush question 01 - array
Configure system environment variables through bat script
CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
寶塔的安裝和flask項目部署
Tianmu MVC audit I
Cmooc Internet + education
The governor of New Jersey signed seven bills to improve gun safety
CAPL script pair High level operation of INI configuration file
C杂讲 文件 续讲