当前位置:网站首页>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 replay block of canoe still needs to be combined with CAPL script to make it clear
- Elk project monitoring platform deployment + deployment of detailed use (II)
- CAPL 脚本对.ini 配置文件的高阶操作
- CAPL script pair High level operation of INI configuration file
- What you have to know about network IO model
- Defensive C language programming in embedded development
- How does the single chip microcomputer execute the main function from power on reset?
- Why can't TN-C use 2p circuit breaker?
- 竞赛vscode配置指南
- May brush question 03 - sorting
猜你喜欢
South China Technology stack cnn+bilstm+attention
Hugo blog graphical writing tool -- QT practice
嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历
15 医疗挂号系统_【预约挂号】
Regular expressions are actually very simple
C杂讲 文件 续讲
如何让shell脚本变成可执行文件
[CV] target detection: derivation of common terms and map evaluation indicators
C#/. Net phase VI 01C Foundation_ 01: running environment, process of creating new C program, strict case sensitivity, meaning of class library
CAPL 脚本对.ini 配置文件的高阶操作
随机推荐
CANoe CAPL文件操作目录合集
Defensive C language programming in embedded development
学习单片机对社会的帮助是很大的
Redis distributed lock implementation redison 15 questions
硬件工程师的真实前途我说出来可能你们不信
Why data Tiering
NLP路线和资源
美疾控中心:美国李斯特菌疫情暴发与冰激凌产品有关
C miscellaneous dynamic linked list operation
The programming ranking list came out in February. Is the result as you expected?
Retention policy of RMAN backup
CDC: the outbreak of Listeria monocytogenes in the United States is related to ice cream products
Which is the better prospect for mechanical engineer or Electrical Engineer?
寶塔的安裝和flask項目部署
16 医疗挂号系统_【预约下单】
VH6501学习系列文章
[flask] crud addition and query operation of data
Nc17 longest palindrome substring
jar运行报错no main manifest attribute
Several silly built-in functions about relative path / absolute path operation in CAPL script