Coder Social home page Coder Social logo

Comments (5)

jbriales avatar jbriales commented on September 26, 2024

Hi,

having a look at your compilation errors it seems to me that you have both repositories dvo and dvo_slam in the same ros workspace. Because of this, the packages dvo_core, dvo_ros and dvo_benchmark are duplicated.
You can see that at the time of compiling that the files related to dvo_core, dvo_ros and dvo_benchmark are being taken from the dvo repository folder (the explanation for this can be found
here at the end of the subsection 2.4).
The most simple solution for this would be remove the dvo folder completely of this workspace, then the compilation of dvo_slam should work.

Good luck!

from dvo_slam.

amiltonwong avatar amiltonwong commented on September 26, 2024

@jesusbriales . Thanks for your suggestion, but it didn't work even I completely remove dvo package.

https://goo.gl/GCIPjf

Still the same build error.
Could you tell me what's the config for your system? (Version for your OS, ROS )

from dvo_slam.

jbriales avatar jbriales commented on September 26, 2024

The build error is not the same, the problem with the name conflicts is gone but the error now is related to the g2o library. This error is discussed in the issues #19 and #28, and you can see there that some of the solutions can be:

  1. Disable the apps in g2o through CMake. You can do it easily from the cmake-gui with
    cmake-gui dvo_slam/g2o/build/
    setting the G2O_BUILD_APPS option to false.
    I had this same problem and solved it like this.
  2. Install these dependencies, as suggested in #19 (although I did not try this):
    sudo apt-get install ros-fuerte-libg2o liblapack-dev libblas-dev freeglut3-dev libqglviewer-qt4-dev libsuitesparse-dev libx11-dev

PS:
I compiled dvo_slam with Ubuntu 12.04 and ROS Fuerte as well as the Indigo branch of jefftee with Ubuntu 14.04 and ROS Indigo.

from dvo_slam.

amiltonwong avatar amiltonwong commented on September 26, 2024

@jesusbriales . Thank you so much. Finally I built it successfully.
The first option (Disable the apps in g2o through CMake) doesn't apply for my case, I still got the same build error
The second one works for my case. After I install those dependencies as you suggest. I built it successfully. 👍

from dvo_slam.

ramanpreet9 avatar ramanpreet9 commented on September 26, 2024

@jesusbriales
i used your 1) suggestion to turn the flag off

but i am still getting the same error. I am on indigo so the 2nd option doesnt work for me. Any suggestions as how to overcome this issue?

from dvo_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.