当前位置:网站首页>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 )
边栏推荐
- flask运维脚本(长时间运行)
- 通过bat脚本配置系统环境变量
- Single chip microcomputer realizes modular programming: Thinking + example + system tutorial (the degree of practicality is appalling)
- [untitled]
- 竞赛vscode配置指南
- 寶塔的安裝和flask項目部署
- Regular expressions are actually very simple
- Hero League rotation chart manual rotation
- CAPL script pair High level operation of INI configuration file
- Zsh configuration file
猜你喜欢
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
Contest3145 - the 37th game of 2021 freshman individual training match_ C: Tour guide
16 医疗挂号系统_【预约下单】
零基础学习单片机切记这四点要求,少走弯路
大学想要选择学习自动化专业,可以看什么书去提前了解?
AI的路线和资源
Routes and resources of AI
CAPL script pair High level operation of INI configuration file
Why can't TN-C use 2p circuit breaker?
Installation of pagoda and deployment of flask project
随机推荐
西南大学:胡航-关于学习行为和学习效果分析
Vscode common instructions
单片机如何从上电复位执行到main函数?
Installation de la pagode et déploiement du projet flask
C杂讲 文件 初讲
华南技术栈CNN+Bilstm+Attention
Une grande vague d'attaques à la source ouverte
A wave of open source notebooks is coming
C杂讲 浅拷贝 与 深拷贝
Learning SCM is of great help to society
Compress decompress
学习单片机对社会的帮助是很大的
Day 5 of MySQL learning
Combined search /dfs solution - leetcode daily question - number of 1020 enclaves
Regular expressions are actually very simple
宝塔的安装和flask项目部署
在CANoe中通过Panel面板控制Test Module 运行(高级)
jar运行报错no main manifest attribute
Pointer learning
AI的路线和资源