Skip to content
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

Compilation failure against gazebo 11.10.0 #606

Closed
traversaro opened this issue Jan 13, 2022 · 1 comment · Fixed by #605
Closed

Compilation failure against gazebo 11.10.0 #606

traversaro opened this issue Jan 13, 2022 · 1 comment · Fixed by #605

Comments

@traversaro
Copy link
Member

Error:

2022-01-13T17:04:29.0959847Z /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/src/CameraDriver.cpp: In member function 'virtual bool yarp::dev::GazeboYarpCameraDriver::open(yarp::os::Searchable&)':
2022-01-13T17:04:29.0960677Z /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/src/CameraDriver.cpp:134:120: error: '_1' was not declared in this scope
2022-01-13T17:04:29.0961518Z   134 |     this->m_updateConnection = m_camera->ConnectNewImageFrame(boost::bind(&GazeboYarpCameraDriver::captureImage, this, _1, _2, _3, _4, _5));
2022-01-13T17:04:29.0962129Z       |                                                                                                                        ^~
2022-01-13T17:04:29.0962664Z /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/src/CameraDriver.cpp:134:120: note: suggested alternatives:
2022-01-13T17:04:29.0963152Z In file included from /usr/share/miniconda/envs/test/include/boost/mpl/aux_/include_preprocessed.hpp:37,
2022-01-13T17:04:29.0963558Z                  from /usr/share/miniconda/envs/test/include/boost/mpl/placeholders.hpp:43,
2022-01-13T17:04:29.0963929Z                  from /usr/share/miniconda/envs/test/include/boost/iterator/iterator_categories.hpp:16,
2022-01-13T17:04:29.0964301Z                  from /usr/share/miniconda/envs/test/include/boost/iterator/advance.hpp:11,
2022-01-13T17:04:29.0964739Z                  from /usr/share/miniconda/envs/test/include/boost/next_prior.hpp:25,
2022-01-13T17:04:29.0965097Z                  from /usr/share/miniconda/envs/test/include/boost/thread/futures/wait_for_any.hpp:20,
2022-01-13T17:04:29.0965462Z                  from /usr/share/miniconda/envs/test/include/boost/thread/future.hpp:41,
2022-01-13T17:04:29.0965792Z                  from /usr/share/miniconda/envs/test/include/boost/thread.hpp:24,
2022-01-13T17:04:29.0966266Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/common/Console.hh:27,
2022-01-13T17:04:29.0966786Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/transport/CallbackHelper.hh:28,
2022-01-13T17:04:29.0967308Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/transport/SubscribeOptions.hh:23,
2022-01-13T17:04:29.0967835Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/transport/TopicManager.hh:34,
2022-01-13T17:04:29.0968315Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/transport/Node.hh:30,
2022-01-13T17:04:29.0968801Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/rendering/Camera.hh:40,
2022-01-13T17:04:29.0969382Z                  from /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/include/yarp/dev/CameraDriver.h:17,
2022-01-13T17:04:29.0969982Z                  from /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/src/CameraDriver.cpp:8:
2022-01-13T17:04:29.0970644Z /usr/share/miniconda/envs/test/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   'mpl_::_1'
2022-01-13T17:04:29.0970989Z    29 | typedef arg<1> _1;
2022-01-13T17:04:29.0971177Z       |                ^~
2022-01-13T17:04:29.0971488Z In file included from /usr/share/miniconda/envs/test/include/boost/smart_ptr/detail/shared_count.hpp:37,
2022-01-13T17:04:29.0971865Z                  from /usr/share/miniconda/envs/test/include/boost/smart_ptr/shared_ptr.hpp:17,
2022-01-13T17:04:29.0972218Z                  from /usr/share/miniconda/envs/test/include/boost/shared_ptr.hpp:17,
2022-01-13T17:04:29.0972776Z                  from /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/include/yarp/dev/CameraDriver.h:16,
2022-01-13T17:04:29.0973369Z                  from /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/src/CameraDriver.cpp:8:
2022-01-13T17:04:29.0974025Z /usr/share/miniconda/envs/test/x86_64-conda-linux-gnu/include/c++/9.4.0/functional:211:34: note:   'std::placeholders::_1'
2022-01-13T17:04:29.0974376Z   211 |     extern const _Placeholder<1> _1;
2022-01-13T17:04:29.0974597Z       |                                  ^~
2022-01-13T17:04:29.0974893Z In file included from /usr/share/miniconda/envs/test/include/boost/bind/bind.hpp:2356,
2022-01-13T17:04:29.0975361Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/transport/Node.hh:22,
2022-01-13T17:04:29.0975847Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/rendering/Camera.hh:40,
2022-01-13T17:04:29.0976480Z                  from /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/include/yarp/dev/CameraDriver.h:17,
2022-01-13T17:04:29.0977072Z                  from /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/src/CameraDriver.cpp:8:
2022-01-13T17:04:29.0977698Z /usr/share/miniconda/envs/test/include/boost/bind/placeholders.hpp:46:38: note:   'boost::placeholders::_1'
2022-01-13T17:04:29.0978036Z    46 | BOOST_STATIC_CONSTEXPR boost::arg<1> _1;
2022-01-13T17:04:29.0978278Z       |                                      ^~
2022-01-13T17:04:29.0978605Z In file included from /usr/share/miniconda/envs/test/include/boost/mpl/aux_/include_preprocessed.hpp:37,
2022-01-13T17:04:29.0978985Z                  from /usr/share/miniconda/envs/test/include/boost/mpl/placeholders.hpp:43,
2022-01-13T17:04:29.0979426Z                  from /usr/share/miniconda/envs/test/include/boost/iterator/iterator_categories.hpp:16,
2022-01-13T17:04:29.0979794Z                  from /usr/share/miniconda/envs/test/include/boost/iterator/advance.hpp:11,
2022-01-13T17:04:29.0980143Z                  from /usr/share/miniconda/envs/test/include/boost/next_prior.hpp:25,
2022-01-13T17:04:29.0980507Z                  from /usr/share/miniconda/envs/test/include/boost/thread/futures/wait_for_any.hpp:20,
2022-01-13T17:04:29.0980857Z                  from /usr/share/miniconda/envs/test/include/boost/thread/future.hpp:41,
2022-01-13T17:04:29.0981193Z                  from /usr/share/miniconda/envs/test/include/boost/thread.hpp:24,
2022-01-13T17:04:29.0981659Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/common/Console.hh:27,
2022-01-13T17:04:29.0982152Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/transport/CallbackHelper.hh:28,
2022-01-13T17:04:29.0982682Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/transport/SubscribeOptions.hh:23,
2022-01-13T17:04:29.0983202Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/transport/TopicManager.hh:34,
2022-01-13T17:04:29.0983695Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/transport/Node.hh:30,
2022-01-13T17:04:29.0984170Z                  from /usr/share/miniconda/envs/test/include/gazebo-11/gazebo/rendering/Camera.hh:40,
2022-01-13T17:04:29.0984726Z                  from /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/include/yarp/dev/CameraDriver.h:17,
2022-01-13T17:04:29.0985329Z                  from /home/runner/work/gazebo-yarp-plugins/gazebo-yarp-plugins/plugins/camera/src/CameraDriver.cpp:8:
2022-01-13T17:04:29.0985975Z /usr/share/miniconda/envs/test/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   'mpl_::_1'
2022-01-13T17:04:29.0986284Z    29 | typedef arg<1> _1;
2022-01-13T17:04:29.0986482Z       |                ^~
2022-01-13T17:04:29.0986983Z /usr/share/miniconda/envs/test/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   'mpl_::_1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant