Git Product home page Git Product logo

Comments (7)

artivis avatar artivis commented on June 17, 2024 1

No problem. In the meantime I will close this issue. Feel free to reopen it if you find new evidences of what's going on.

from manif.

artivis avatar artivis commented on June 17, 2024

The first error message in that log should give you a clue,

/opt/local/include/eigen3/Eigen/src/Core/util/Macros.h:707:2: error: #error This compiler appears to be too old to be supported by Eigen
:info:build   707 | #error This compiler appears to be too old to be supported by Eigen

Eigen seems to have troubles with your compiler. Note that we're only testing for macos 11 & 12 in CI.

As for C++14, it seems to be required by gtest rather than Eigen3. manif requires at least C++11, but does not forces it in any way. Nothing prevents you from enabling C++14 or newer from the command line.

from manif.

barracuda156 avatar barracuda156 commented on June 17, 2024

I have no issues using eigen3 with gcc12 with numerous ports. This is the first time I see this error, and the code in eigen3 itself is not helpful – define appears fine and should not fail.

There are numerous errors down the road aside of this one anyway.

from manif.

artivis avatar artivis commented on June 17, 2024

I don't think that I have any CI job rocking gcc12, I'll give it a shot see if I can reproduce the error. In the mean time give it another go enabling C++14.

from manif.

artivis avatar artivis commented on June 17, 2024

So, I've just successfully followed the build instructions on Ubuntu 23.04 with gcc --version 12.2.0, cmake --version 3.25.1 and libeigen3-dev 3.4.0-4.
I'm afraid the errors you are encountering are related to your setup :s .

from manif.

barracuda156 avatar barracuda156 commented on June 17, 2024

Thank you for taking time to check. Well, the setup is working fine for thousands of ports, so it is not at fault as such, otherwise no Eigen-related ports would build. I will look for a reason what fails here. Weird.

from manif.

barracuda156 avatar barracuda156 commented on June 17, 2024

@artivis Okay, the problem is that manif sets a wrong C++ standard. Changing it to C++14 makes eigen3 and gtest errors gone.

from manif.

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.