Skip to content

Error while making #82

Description

@jeremy7703

In file included from /home/jeremy/vis_nav_player/g2opy/python/g2o.cpp:1:
/home/jeremy/vis_nav_player/g2opy/EXTERNAL/pybind11/include/pybind11/pybind11.h: At global scope:
/home/jeremy/vis_nav_player/g2opy/EXTERNAL/pybind11/include/pybind11/pybind11.h:1088:13: error: ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = pybind11::detail::initimpl::constructor::execute(Class&, const Extra& ...) [with Class = pybind11::class_<Eigen::Rotation2D >; Extra = {}; typename std::enable_if<(! Class::has_alias), int>::type = 0; Args = {const Eigen::Matrix<double, 2, 2, 0, 2, 2>&}]::<lambda(pybind11::detail::value_and_holder&, const Eigen::Matrix<double, 2, 2>&)>; Extra = {pybind11::detail::is_new_style_constructor}; type_ = Eigen::Rotation2D; options = {}]’, declared using local type ‘pybind11::detail::initimpl::constructor::execute(Class&, const Extra& ...) [with Class = pybind11::class_<Eigen::Rotation2D >; Extra = {}; typename std::enable_if<(! Class::has_alias), int>::type = 0; Args = {const Eigen::Matrix<double, 2, 2, 0, 2, 2>&}]::<lambda(pybind11::detail::value_and_holder&, const Eigen::Matrix<double, 2, 2>&)>’, is used but never defined [-fpermissive]
1088 | class_ &def(const char *name_, Func&& f, const Extra&... extra) {
| ^~~
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions