Giter Club home page Giter Club logo

Comments (12)

damonkohler avatar damonkohler commented on June 15, 2024

Looks like your version of gcc isn't what normally comes on Trusty. Can you try with 4.8.4?

from cartographer_ros.

SirVer avatar SirVer commented on June 15, 2024

Please also post the full compile output into a gist and link it here.

from cartographer_ros.

oaa3wf avatar oaa3wf commented on June 15, 2024

Thanks for the responses.
Here is the full compile output : gist

I tried downgrading to 4.8.4 unsuccesfully. I managed to go to 4.8.5 but that didn't help. Do you have any tips on how to downgrade to 4.8.4?

from cartographer_ros.

SirVer avatar SirVer commented on June 15, 2024

It seems you do not have the proto compiler installed, see your gist: https://gist.github.com/oaa3wf/6a4b0f8e20a99de854971a1b4c1fdef2#file-gistfile1-txt-L88

Have you run through the installation instructions?

from cartographer_ros.

oaa3wf avatar oaa3wf commented on June 15, 2024

I just tried following those instructions and still have problems.
The output is linked here.

Thanks for your help so far!

from cartographer_ros.

SirVer avatar SirVer commented on June 15, 2024

This is no the full output I had in mind, sorry for being imprecise: Please include the commandline and the prior commands you ran in the output. Also set the VERBOSE environment variable so we can see what commands are run. You can also follow step by step what our test on Travis does to figure out where the individual steps differ.

from cartographer_ros.

nxtrobotics avatar nxtrobotics commented on June 15, 2024

@oaa3wf,

I just ran a successful build and documented my steps - which are a combination of the cartographer_ros and non-ROS. Take a look at the below documentation and let me know if it was helpful:

Btw, the build platform was based on the following configuration:

  • Ubuntu -14.04 LTS (AMD64)
  • i7-6500U
  • 8GB RAM
  • ROS Indigo
  • gcc 4.8.4
  • cmake 2.8.12.2

-Jeff

from cartographer_ros.

SirVer avatar SirVer commented on June 15, 2024

@nxtrobotics Could you craft pull requests with the additional changes that you required? I do not understand why you did require bullet for example. Also I wonder where the test_tf2 directory in your workspace did come from - to my knowledge Cartographer does not create that.

from cartographer_ros.

oaa3wf avatar oaa3wf commented on June 15, 2024

I'm still not sure what's wrong. Maybe it is my system.
@SirVer Here is a link to the output with the commands. Hopefully this helps and is what you asked for, otherwise please let me know.
@nxtrobotics Thanks for your suggestion. I tried it but it didn't work too.

Thanks for the help so far!

from cartographer_ros.

SirVer avatar SirVer commented on June 15, 2024

Yes, that is exactly the kind of output I was hoping for. Could you provide the output of /usr/bin/c++ --version and dpkg -L google-mock. Right now I assume that either the gcc compiler is not supported or that something messed with your gmock installation.

from cartographer_ros.

oaa3wf avatar oaa3wf commented on June 15, 2024

That's what I think too. I'm more on the side of the gmock installation being messed up though.
Here is the output you asked for.

For installing g-mock, I believe I used apt-get i.e.
sudo apt-get update
sudo apt-get install google-mock

from cartographer_ros.

SirVer avatar SirVer commented on June 15, 2024

gcc output seems fine, but something in your installation is messed up:

/usr/local/include/gmock/gmock-matchers.h:3451:7: error: provided for ‘template class testing::internal::UnorderedElementsAreMatcher’

uses gmock from /usr/local/, but the output of dpkg -L google-mock does not show files in /usr/local/include/, so you must have manually installed a different version of gmock on your system somehow and that confuses the build.

Closing, since this seems to be an issue specific to your setup. Please reopen if you disagree.

from cartographer_ros.

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.