Comments (11)
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.
Same here
from g2opy.
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.
@1761865308 , Thank you so much! I will try it right away!
from g2opy.
I still have the same error.
ubuntu 18.04, python 3.8, eigen 3.3.4-4.
from g2opy.
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.
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.
Try the koide3's solution - it has just worked for me.
from g2opy.
@Twenkid
I already tried it, but the building went to 99% then I got this #58!
any tips?
from g2opy.
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.
Follow koide3's solution and downgrade my python from 3.11 to 3.9 works for me
from g2opy.
Related Issues (20)
- Error in installing on ubuntu 20.04 HOT 5
- Provide range for a variable to be optimized
- Hiii HOT 1
- Usage
- in descriptor.py
- python3.7 + eigen3.3.1 + gcc 4.8.5 is ok
- make -j8 failed HOT 1
- I met this problem when run python setup.py install HOT 5
- Photometric BA HOT 1
- make[99%] error && void declareXXXX(py::module & m) {^} HOT 2
- ImportError: cannot import name 'AngleAxis' from 'g2o' HOT 1
- python setup.py install assertion error HOT 1
- make: *** [Makefile:130: all] Error 2 HOT 3
- Installation: libsuitesparse-dev is not Optional, but rather required
- window pycharm g2opy HOT 1
- How can I define a new g2o vertex or edge HOT 1
- PGO with unknown translation magnitude
- optimize.save("text.g2o") not working
- Hello, why can’t I get optimized results? Can you help me improve the code? HOT 1
- windows install error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g2opy.