Opencv/cv.h Not Found Edit
First time here? Check out the FAQ!
Hi there! Please sign in help faq tags users badges This forum is disabled, please visit https://forum.opencv.orgALL UNANSWERED | Ask Your Question |
asked 2020-01-23 04:02:27 -0600
JordiGC 6 ●1 ●2 ●4updated 2020-01-23 04:15:14 -0600
Hello,
I am trying to build the project of ORB_SLAM2 from this repository.
I have installed all the required dependencies that are mentioned in that repository. However, when I run
./build.sh
I get this error:
/<path_to_folder>/ORB_SLAM2/include/ORBextractor.h:26:23: fatal error: opencv/cv.h: No such file or directoryI have installed opencv4.2.0 from source in a docker image and I want to build the mentioned project in a docker container. I have been looking around how I could get the cv.h file, but I didn't find anything and that's why I am making this post.
This is the Dockerfile I used to create the docker image with opencv4.2 and cuda 10.2
Thank you very much,
Jordi
edit retag flag offensive close merge deleteComments
see: https://github.com/raulmur/ORB_SLAM2/...
berak ( 2020-01-23 05:15:25 -0600 )editadd a comment1 answer
Sort by » oldest newest most voted 1answered 2020-01-23 05:10:22 -0600
berak 32993 ●7 ●81 ●312opencv 4 does no more install the deprecated (1.0) c-api headers.
you can either patch the ORBExtractor.h and use
#include <opencv2/opencv.hpp>(luckily it's only one case, all others were changed already)
if you can't, you'll have to use opencv3 instead.
edit flag offensive delete link moreComments
Okay! I will install the latest version of OpenCv3. (3.4.9?)
Thank you!
JordiGC ( 2020-01-23 05:15:51 -0600 )editwhy not fork the ORBSLAM repo, fix it, and use that instead ?
(editing the file from a webbrowser will do that for you !)
berak ( 2020-01-23 05:17:12 -0600 )editadd a commentLinks
Official site
GitHub
Wiki
Documentation
Question Tools
Follow 1 followersubscribe to rss feed
Stats
Asked: 2020-01-23 04:02:27 -0600
Seen: 21,893 times
Last updated: Jan 23 '20
Related questions
exit() function doesn't work when cv.h included, LINUX
opencv installed with visual studio 2010, but shows error with header files cv.h , highgui.h
problem with cv.h header file
cv.h not found need help with makefile [closed]
installing OpenCV in windows 10 using TDM 64 bit and Codeblocks fails
Does ORB SLAM2 perform worse on weaker compute?!
Copyright OpenCV foundation, 2012-2018. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license. about | faq | help | privacy policy | terms of service Powered by Askbot version 0.10.2 ( 2024-11-24 01:58:58 -0600 )editnone×Từ khóa » Cv H
-
Opencv/cv.h At Master - GitHub
-
Can't Add Cv.h To Project - Stack Overflow
-
Opencv2: Cv.h Source File - ROS Documentation
-
Opencv2: Cv.h File Reference - ROS Documentation
-
, Cannot Open Source File "cv.h" And "highgui.h" - MSDN - Microsoft
-
Cv.h
-
CV$h | Spotify
-
Cv$h On Apple Music
-
Ubuntu – Package Contents Search Results -- Cv.h
-
Opencv - Error When Compiling Cv.h: No Such File Or Directory
-
CV$h On Apple Music
-
8002-CV-H/V15u - Screening Devices BV
-
CV$H - SoundCloud