-
-
Save nzlz/84f278b87b5a8253a5f45cb5a6694769 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nestor@n-pc:~/gz_ws_ros2$ colcon build --merge-install --packages-select gazebo_ros | |
Starting >>> gazebo_ros | |
--- stderr: gazebo_ros | |
In file included from /usr/include/sdformat-6.1/sdf/Param.hh:30:0, | |
from /usr/include/sdformat-6.1/sdf/Element.hh:25, | |
from /usr/include/sdformat-6.1/sdf/sdf.hh:4, | |
from /usr/include/gazebo-9/gazebo/common/Plugin.hh:42, | |
from /home/nestor/gz_ws_ros2/src/gazebo_ros_pkgs/gazebo_ros/include/gazebo_ros/gazebo_ros_factory.hpp:18, | |
from /home/nestor/gz_ws_ros2/src/gazebo_ros_pkgs/gazebo_ros/src/gazebo_ros_factory.cpp:15: | |
/usr/include/c++/7/functional: In instantiation of ‘struct std::_Bind_check_arity<void (gazebo_ros::GazeboRosFactoryPrivate::*)(std::shared_ptr<gazebo_msgs::srv::GetModelList_Response_<std::allocator<void> > >), gazebo_ros::GazeboRosFactoryPrivate*, const std::_Placeholder<1>&, const std::_Placeholder<2>&>’: | |
/usr/include/c++/7/functional:854:12: required from ‘struct std::_Bind_helper<false, void (gazebo_ros::GazeboRosFactoryPrivate::*)(std::shared_ptr<gazebo_msgs::srv::GetModelList_Response_<std::allocator<void> > >), gazebo_ros::GazeboRosFactoryPrivate*, const std::_Placeholder<1>&, const std::_Placeholder<2>&>’ | |
/usr/include/c++/7/functional:875:5: required by substitution of ‘template<class _Func, class ... _BoundArgs> typename std::_Bind_helper<std::__is_socketlike<_Func>::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Func = void (gazebo_ros::GazeboRosFactoryPrivate::*)(std::shared_ptr<gazebo_msgs::srv::GetModelList_Response_<std::allocator<void> > >); _BoundArgs = {gazebo_ros::GazeboRosFactoryPrivate*, const std::_Placeholder<1>&, const std::_Placeholder<2>&}]’ | |
/home/nestor/gz_ws_ros2/src/gazebo_ros_pkgs/gazebo_ros/src/gazebo_ros_factory.cpp:142:51: required from here | |
/usr/include/c++/7/functional:841:7: error: static assertion failed: Wrong number of arguments for pointer-to-member | |
static_assert(_Varargs::value | |
^~~~~~~~~~~~~ | |
In file included from /opt/ros/crystal/include/rclcpp/node_impl.hpp:42:0, | |
from /opt/ros/crystal/include/rclcpp/node.hpp:492, | |
from /opt/ros/crystal/include/rclcpp/executors/single_threaded_executor.hpp:28, | |
from /opt/ros/crystal/include/rclcpp/executors.hpp:22, | |
from /opt/ros/crystal/include/rclcpp/rclcpp.hpp:144, | |
from /home/nestor/gz_ws_ros2/src/gazebo_ros_pkgs/gazebo_ros/include/gazebo_ros/node.hpp:18, | |
from /home/nestor/gz_ws_ros2/src/gazebo_ros_pkgs/gazebo_ros/src/gazebo_ros_factory.cpp:28: | |
/opt/ros/crystal/include/rclcpp/create_service.hpp: In instantiation of ‘typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::callback_group::CallbackGroup::SharedPtr) [with ServiceT = gazebo_msgs::srv::GetModelList; CallbackT = std::_Bind<void (gazebo_ros::GazeboRosFactoryPrivate::*(gazebo_ros::GazeboRosFactoryPrivate*, std::_Placeholder<1>, std::_Placeholder<2>))(std::shared_ptr<gazebo_msgs::srv::GetModelList_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<gazebo_msgs::srv::GetModelList> >; std::__cxx11::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_t; rclcpp::callback_group::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::callback_group::CallbackGroup>]’: | |
/opt/ros/crystal/include/rclcpp/node_impl.hpp:201:53: required from ‘typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::callback_group::CallbackGroup::SharedPtr) [with ServiceT = gazebo_msgs::srv::GetModelList; CallbackT = std::_Bind<void (gazebo_ros::GazeboRosFactoryPrivate::*(gazebo_ros::GazeboRosFactoryPrivate*, std::_Placeholder<1>, std::_Placeholder<2>))(std::shared_ptr<gazebo_msgs::srv::GetModelList_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<gazebo_msgs::srv::GetModelList> >; std::__cxx11::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_t; rclcpp::callback_group::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::callback_group::CallbackGroup>]’ | |
/home/nestor/gz_ws_ros2/src/gazebo_ros_pkgs/gazebo_ros/src/gazebo_ros_factory.cpp:142:52: required from here | |
/opt/ros/crystal/include/rclcpp/create_service.hpp:43:3: error: no matching function for call to ‘rclcpp::AnyServiceCallback<gazebo_msgs::srv::GetModelList>::set(std::_Bind<void (gazebo_ros::GazeboRosFactoryPrivate::*(gazebo_ros::GazeboRosFactoryPrivate*, std::_Placeholder<1>, std::_Placeholder<2>))(std::shared_ptr<gazebo_msgs::srv::GetModelList_Response_<std::allocator<void> > >)>)’ | |
any_service_callback.set(std::forward<CallbackT>(callback)); | |
^~~~~~~~~~~~~~~~~~~~ | |
In file included from /opt/ros/crystal/include/rclcpp/service.hpp:27:0, | |
from /opt/ros/crystal/include/rclcpp/callback_group.hpp:24, | |
from /opt/ros/crystal/include/rclcpp/any_executable.hpp:20, | |
from /opt/ros/crystal/include/rclcpp/memory_strategy.hpp:24, | |
from /opt/ros/crystal/include/rclcpp/memory_strategies.hpp:18, | |
from /opt/ros/crystal/include/rclcpp/executor.hpp:32, | |
from /opt/ros/crystal/include/rclcpp/executors/multi_threaded_executor.hpp:24, | |
from /opt/ros/crystal/include/rclcpp/executors.hpp:21, | |
from /opt/ros/crystal/include/rclcpp/rclcpp.hpp:144, | |
from /home/nestor/gz_ws_ros2/src/gazebo_ros_pkgs/gazebo_ros/include/gazebo_ros/node.hpp:18, | |
from /home/nestor/gz_ws_ros2/src/gazebo_ros_pkgs/gazebo_ros/src/gazebo_ros_factory.cpp:28: | |
/opt/ros/crystal/include/rclcpp/any_service_callback.hpp:65:8: note: candidate: template<class CallbackT, typename std::enable_if<rclcpp::function_traits::same_arguments<CallbackT, std::function<void(std::shared_ptr<gazebo_msgs::srv::GetModelList_Request_<std::allocator<void> > >, std::shared_ptr<gazebo_msgs::srv::GetModelList_Response_<std::allocator<void> > >)> >::value, void>::type* <anonymous> > void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT) [with CallbackT = CallbackT; typename std::enable_if<rclcpp::function_traits::same_arguments<CallbackT, std::function<void(std::shared_ptr<typename ServiceT::Request>, std::shared_ptr<typename ServiceT::Response>)> >::value>::type* <anonymous> = <enumerator>; ServiceT = gazebo_msgs::srv::GetModelList] | |
void set(CallbackT callback) | |
^~~ | |
/opt/ros/crystal/include/rclcpp/any_service_callback.hpp:65:8: note: template argument deduction/substitution failed: | |
/opt/ros/crystal/include/rclcpp/any_service_callback.hpp:63:17: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’ | |
>::type * = nullptr | |
^~~~~~~ | |
/opt/ros/crystal/include/rclcpp/any_service_callback.hpp:63:17: note: invalid template non-type parameter | |
/opt/ros/crystal/include/rclcpp/any_service_callback.hpp:79:8: note: candidate: template<class CallbackT, typename std::enable_if<rclcpp::function_traits::same_arguments<CallbackT, std::function<void(std::shared_ptr<rmw_request_id_t>, std::shared_ptr<gazebo_msgs::srv::GetModelList_Request_<std::allocator<void> > >, std::shared_ptr<gazebo_msgs::srv::GetModelList_Response_<std::allocator<void> > >)> >::value, void>::type* <anonymous> > void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT) [with CallbackT = CallbackT; typename std::enable_if<rclcpp::function_traits::same_arguments<CallbackT, std::function<void(std::shared_ptr<rmw_request_id_t>, std::shared_ptr<typename ServiceT::Request>, std::shared_ptr<typename ServiceT::Response>)> >::value>::type* <anonymous> = <enumerator>; ServiceT = gazebo_msgs::srv::GetModelList] | |
void set(CallbackT callback) | |
^~~ | |
/opt/ros/crystal/include/rclcpp/any_service_callback.hpp:79:8: note: template argument deduction/substitution failed: | |
/opt/ros/crystal/include/rclcpp/any_service_callback.hpp:77:17: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’ | |
>::type * = nullptr | |
^~~~~~~ | |
/opt/ros/crystal/include/rclcpp/any_service_callback.hpp:77:17: note: invalid template non-type parameter | |
make[2]: *** [CMakeFiles/gazebo_ros_factory.dir/src/gazebo_ros_factory.cpp.o] Error 1 | |
make[1]: *** [CMakeFiles/gazebo_ros_factory.dir/all] Error 2 | |
make: *** [all] Error 2 | |
--- | |
Failed <<< gazebo_ros [ Exited with code 2 ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment