Git Product home page Git Product logo

Comments (7)

aaronma37 avatar aaronma37 commented on June 23, 2024 57

I was able to fix this by adding

#include <opencv2/opencv.hpp>

to the top of ORB_SLAM/src/ORBextractor.cc. My opencv library didn't have the header files

#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>

which were in ORB_SLAM/src/ORBextractor.cc, but after looking I found that

#include <opencv2/opencv.hpp> 

had them. I think this was a problem for me because I am trying to run 15.04 on jade

from orb_slam.

yanyan-li avatar yanyan-li commented on June 23, 2024 3

aaronma37's suggestion solved same problem in 16.04

from orb_slam.

ckchng avatar ckchng commented on June 23, 2024 2

aaronma37 solution works for 18.04Ubuntu on Melodic

from orb_slam.

jwcrawley avatar jwcrawley commented on June 23, 2024

I personally solved it by loading synaptic, searching for ros-indigo and selecting every package that was installed. Then I marked them for complete removal, and then apply.

Then go to the bottom of your ~/.bashrc and remove all lines related to ROS.

And now, go through the install procedure as listed on ROS website.

That solved the problem of OpenCV libs not working for me.

from orb_slam.

marcelinomalmeidan avatar marcelinomalmeidan commented on June 23, 2024

I had the same problem in 14.04 on Indigo. aaronma37's suggestion solved my problem!

from orb_slam.

JeffYoung17 avatar JeffYoung17 commented on June 23, 2024

I had same problem with aaronma37,and his method works.
My ubuntu is 14.04.

from orb_slam.

gandhiRobo avatar gandhiRobo commented on June 23, 2024

aaronma37 solution works for 16.04Ubuntu on Kinetic

from orb_slam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.