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
I tried with numerous versions in ubuntu 24.04, outside conda, in conda env, python 3.12, python 3.8, eigen 3.4.0, eigen 3.3.9 non works and I also modified .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) to .def("x", (const double &(Eigen::Quaterniond::)() const) &Eigen::Quaterniond::x) .def("y", (const double &(Eigen::Quaterniond::)() const) &Eigen::Quaterniond::y) .def("z", (const double &(Eigen::Quaterniond::)() const) &Eigen::Quaterniond::z) .def("w", (const double &(Eigen::Quaterniond::)() const) &Eigen::Quaterniond::w)
and right before finish, at the same stop it fails
/home/pouya/Desktop/g2opy/EXTERNAL/pybind11/include/pybind11/pybind11.h:65:9: required from ‘pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) [with Func = g2o::declareEigenTypes(pybind11::module&)::<lambda(Eigen::Matrix<double, 3, 1>&, Eigen::Matrix<double, 3, 1>&)>; Extra = {pybind11::name, pybind11::scope, pybind11::sibling}; = void]’ /home/pouya/Desktop/g2opy/EXTERNAL/pybind11/include/pybind11/pybind11.h:1097:22: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def_static(const char*, Func&&, const Extra& ...) [with Func = g2o::declareEigenTypes(pybind11::module&)::<lambda(Eigen::Matrix<double, 3, 1>&, Eigen::Matrix<double, 3, 1>&)>; Extra = {}; type_ = Eigen::Quaternion; options = {}]’ /home/pouya/Desktop/g2opy/python/core/eigen_types.h:185:14: required from here /home/pouya/Desktop/g2opy/EXTERNAL/pybind11/include/pybind11/eigen.h:83:20: warning: implicitly-declared ‘Eigen::Stride<-1, -1>& Eigen::Stride<-1, -1>::operator=(const Eigen::Stride<-1, -1>&)’ is deprecated [-Wdeprecated-copy] 83 | stride = {EigenRowMajor ? rstride : cstride /* outer stride /, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | EigenRowMajor ? cstride : rstride / inner stride */ }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pouya/anaconda3/envs/g2opy-env/include/eigen3/Eigen/Core:473, from /home/pouya/Desktop/g2opy/g2o/core/eigen_types.h:30, from /home/pouya/Desktop/g2opy/build/g2o/config.h:26, from /home/pouya/Desktop/g2opy/g2o/core/g2o_core_api.h:13, from /home/pouya/Desktop/g2opy/g2o/core/hyper_graph.h:40, from /home/pouya/Desktop/g2opy/python/core/hyper_graph.h:5, from /home/pouya/Desktop/g2opy/python/g2o.cpp:3: /home/pouya/anaconda3/envs/g2opy-env/include/eigen3/Eigen/src/Core/Stride.h:71:5: note: because ‘Eigen::Stride<-1, -1>’ has user-provided ‘Eigen::Stride<InnerStrideAtCompileTime, OuterStrideAtCompileTime>::Stride(const Eigen::Stride<InnerStrideAtCompileTime, OuterStrideAtCompileTime>&) [with int _OuterStrideAtCompileTime = -1; int _InnerStrideAtCompileTime = -1]’ 71 | Stride(const Stride& other) | ^~~~~~ make[2]: *** [python/CMakeFiles/g2o.dir/build.make:79: python/CMakeFiles/g2o.dir/g2o.cpp.o] Error 1 make[2]: Leaving directory '/home/pouya/Desktop/g2opy/build' make[1]: *** [CMakeFiles/Makefile2:1506: python/CMakeFiles/g2o.dir/all] Error 2 make[1]: Leaving directory '/home/pouya/Desktop/g2opy/build' make: *** [Makefile:136: all] Error 2 (g2opy-env) pouya@mir:~/Desktop/g2opy/build$
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried with numerous versions in ubuntu 24.04, outside conda, in conda env, python 3.12, python 3.8, eigen 3.4.0, eigen 3.3.9 non works and I also modified
.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)
to
.def("x", (const double &(Eigen::Quaterniond::)() const) &Eigen::Quaterniond::x)
.def("y", (const double &(Eigen::Quaterniond::)() const) &Eigen::Quaterniond::y)
.def("z", (const double &(Eigen::Quaterniond::)() const) &Eigen::Quaterniond::z)
.def("w", (const double &(Eigen::Quaterniond::)() const) &Eigen::Quaterniond::w)
and right before finish, at the same stop it fails
/home/pouya/Desktop/g2opy/EXTERNAL/pybind11/include/pybind11/pybind11.h:65:9: required from ‘pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) [with Func = g2o::declareEigenTypes(pybind11::module&)::<lambda(Eigen::Matrix<double, 3, 1>&, Eigen::Matrix<double, 3, 1>&)>; Extra = {pybind11::name, pybind11::scope, pybind11::sibling}; = void]’
/home/pouya/Desktop/g2opy/EXTERNAL/pybind11/include/pybind11/pybind11.h:1097:22: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def_static(const char*, Func&&, const Extra& ...) [with Func = g2o::declareEigenTypes(pybind11::module&)::<lambda(Eigen::Matrix<double, 3, 1>&, Eigen::Matrix<double, 3, 1>&)>; Extra = {}; type_ = Eigen::Quaternion; options = {}]’
/home/pouya/Desktop/g2opy/python/core/eigen_types.h:185:14: required from here
/home/pouya/Desktop/g2opy/EXTERNAL/pybind11/include/pybind11/eigen.h:83:20: warning: implicitly-declared ‘Eigen::Stride<-1, -1>& Eigen::Stride<-1, -1>::operator=(const Eigen::Stride<-1, -1>&)’ is deprecated [-Wdeprecated-copy]
83 | stride = {EigenRowMajor ? rstride : cstride /* outer stride /,
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | EigenRowMajor ? cstride : rstride / inner stride */ };
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pouya/anaconda3/envs/g2opy-env/include/eigen3/Eigen/Core:473,
from /home/pouya/Desktop/g2opy/g2o/core/eigen_types.h:30,
from /home/pouya/Desktop/g2opy/build/g2o/config.h:26,
from /home/pouya/Desktop/g2opy/g2o/core/g2o_core_api.h:13,
from /home/pouya/Desktop/g2opy/g2o/core/hyper_graph.h:40,
from /home/pouya/Desktop/g2opy/python/core/hyper_graph.h:5,
from /home/pouya/Desktop/g2opy/python/g2o.cpp:3:
/home/pouya/anaconda3/envs/g2opy-env/include/eigen3/Eigen/src/Core/Stride.h:71:5: note: because ‘Eigen::Stride<-1, -1>’ has user-provided ‘Eigen::Stride<InnerStrideAtCompileTime, OuterStrideAtCompileTime>::Stride(const Eigen::Stride<InnerStrideAtCompileTime, OuterStrideAtCompileTime>&) [with int _OuterStrideAtCompileTime = -1; int _InnerStrideAtCompileTime = -1]’
71 | Stride(const Stride& other)
| ^~~~~~
make[2]: *** [python/CMakeFiles/g2o.dir/build.make:79: python/CMakeFiles/g2o.dir/g2o.cpp.o] Error 1
make[2]: Leaving directory '/home/pouya/Desktop/g2opy/build'
make[1]: *** [CMakeFiles/Makefile2:1506: python/CMakeFiles/g2o.dir/all] Error 2
make[1]: Leaving directory '/home/pouya/Desktop/g2opy/build'
make: *** [Makefile:136: all] Error 2
(g2opy-env) pouya@mir:~/Desktop/g2opy/build$
The text was updated successfully, but these errors were encountered: