当前位置:网站首页>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 )
边栏推荐
- 面试突击62:group by 有哪些注意事项?
- NLP路线和资源
- Delayed note learning
- 嵌入式開發中的防禦性C語言編程
- 112 pages of mathematical knowledge sorting! Machine learning - a review of fundamentals of mathematics pptx
- Hero League rotation map automatic rotation
- The governor of New Jersey signed seven bills to improve gun safety
- Several silly built-in functions about relative path / absolute path operation in CAPL script
- Embedded development is much more difficult than MCU? Talk about SCM and embedded development and design experience
- 嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历
猜你喜欢
51单片机进修的一些感悟
Hero League rotation chart manual rotation
112 pages of mathematical knowledge sorting! Machine learning - a review of fundamentals of mathematics pptx
在CANoe中通过Panel面板控制Test Module 运行(初级)
C miscellaneous dynamic linked list operation
CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
cmooc互联网+教育
Some thoughts on the study of 51 single chip microcomputer
Download address of canoe, download and activation of can demo 16, and appendix of all canoe software versions
嵌入式开发中的防御性C语言编程
随机推荐
大学C语言入门到底怎么学才可以走捷径
16 医疗挂号系统_【预约下单】
CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
寶塔的安裝和flask項目部署
May brush question 26 - concurrent search
Automation sequences of canoe simulation functions
May brush question 03 - sorting
CAPL script printing functions write, writeex, writelineex, writetolog, writetologex, writedbglevel do you really know which one to use under what circumstances?
Bugku web guide
Random notes
西南大学:胡航-关于学习行为和学习效果分析
《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
Flash operation and maintenance script (running for a long time)
13 医疗挂号系统_【 微信登录】
C#/. Net phase VI 01C Foundation_ 01: running environment, process of creating new C program, strict case sensitivity, meaning of class library
Safety notes
单片机实现模块化编程:思维+实例+系统教程(实用程度令人发指)
Vh6501 Learning Series
Defensive C language programming in embedded development
17 医疗挂号系统_【微信支付】