GithubHelp home page GithubHelp logo

Comments (11)

koide3 avatar koide3 commented on July 28, 2024 55

I encountered the same problem on Ubuntu 20.04. In my case, I could build the library by changing:

        .def("x", (double (Eigen::Quaterniond::*) () const) &Eigen::Quaterniond::x)
        .def("y", (double (Eigen::Quaterniond::*) () const) &Eigen::Quaterniond::y)
        .def("z", (double (Eigen::Quaterniond::*) () const) &Eigen::Quaterniond::z)
        .def("w", (double (Eigen::Quaterniond::*) () const) &Eigen::Quaterniond::w)

in g2opy/python/core/eigen_types.h to:

        .def("x", [](const Eigen::Quaterniond& q) { return q.x(); })
        .def("y", [](const Eigen::Quaterniond& q) { return q.y(); })
        .def("z", [](const Eigen::Quaterniond& q) { return q.z(); })
        .def("w", [](const Eigen::Quaterniond& q) { return q.w(); })

from g2opy.

SmileyScientist avatar SmileyScientist commented on July 28, 2024

Same here

from g2opy.

1761865308 avatar 1761865308 commented on July 28, 2024

Same here

I successly install g2opy in ubuntu 18.0 and python 3.8,you can replace your eigen3 by legacy version(eigen 3.4.4),good luck for you

from g2opy.

SmileyScientist avatar SmileyScientist commented on July 28, 2024

@1761865308 , Thank you so much! I will try it right away!

from g2opy.

ValeriiaIZH avatar ValeriiaIZH commented on July 28, 2024

I still have the same error.
ubuntu 18.04, python 3.8, eigen 3.3.4-4.

from g2opy.

adeelakram03 avatar adeelakram03 commented on July 28, 2024

I have the same issue.

@1761865308 , Thank you so much! I will try it right away!

I have same issue. Did you find solution ?

from g2opy.

Ali007788 avatar Ali007788 commented on July 28, 2024

I still have the same problem!
ubuntu 20.4, python 3.8.10 and eigen 3.3.7
Has anyone an idea how to solve it?

from g2opy.

Twenkid avatar Twenkid commented on July 28, 2024

@Ali007788

Try the koide3's solution - it has just worked for me.

from g2opy.

Ali007788 avatar Ali007788 commented on July 28, 2024

@Twenkid
I already tried it, but the building went to 99% then I got this #58!
any tips?

from g2opy.

Twenkid avatar Twenkid commented on July 28, 2024

Maybe out of memory error?
Try: make -j3 -B
Or -j1 (number of threads, -B -rebuild, -d debug;)
Watch the RAM usage with htop.

BTW, that combination "make -j8" is often given by default, but sometimes it is too much - for virtual machines etc. and there are no notes about that in the building instructions.

from g2opy.

mjunsen123 avatar mjunsen123 commented on July 28, 2024

Follow koide3's solution and downgrade my python from 3.11 to 3.9 works for me

from g2opy.

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.