We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Before starting ensure you are building it with your version of python in mind:
Solution is in /path/to/g2opy/build, run: cmake -DPYBIND11_PYTHON_VERSION=3.8 ..
/path/to/g2opy/build
cmake -DPYBIND11_PYTHON_VERSION=3.8 ..
Originally posted by @travelbureau in #9 (comment)
I have just installed this on ubuntu 20.04, if you are having difficulty building and get:
........ 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
follow this issue: #46 by doing: 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:
g2opy/python/core/eigen_types.h
.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(); })
Originally posted by @koide3 in #46 (comment)
The text was updated successfully, but these errors were encountered:
Fixed compiling error. Patch from
f0fa6ff
uoip#48 (comment)
No branches or pull requests
Before starting ensure you are building it with your version of python in mind:
Solution is in
/path/to/g2opy/build
, run:cmake -DPYBIND11_PYTHON_VERSION=3.8 ..
Originally posted by @travelbureau in #9 (comment)
I have just installed this on ubuntu 20.04, if you are having difficulty building and get:
follow this issue: #46 by doing:
I encountered the same problem on Ubuntu 20.04. In my case, I could build the library by changing:
in
g2opy/python/core/eigen_types.h
to:Originally posted by @koide3 in #46 (comment)
The text was updated successfully, but these errors were encountered: