-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make in Ubuntu error,I went to 99 percent but failed #46
Comments
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 |
@1761865308 , Thank you so much! I will try it right away! |
I still have the same error. |
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 .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(); }) |
I have the same issue.
I have same issue. Did you find solution ? |
I still have the same problem! |
Try the koide3's solution - it has just worked for me. |
Maybe out of memory error? 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. |
Follow koide3's solution and downgrade my python from 3.11 to 3.9 works for me |
It is useful!!! And I solved this problem. |
Building CXX object python/CMakeFiles/g2o.dir/g2o.cpp.o
........
make[2]: *** [python/CMakeFiles/g2o.dir/build.make:63:python/CMakeFiles/g2o.dir/g2o.cpp.o] error 1
make[1]: *** [CMakeFiles/Makefile2:1345:python/CMakeFiles/g2o.dir/all] error 2
make: *** [Makefile:130:all] error 2
The text was updated successfully, but these errors were encountered: