Errors << choreonoid_plugins:make /home/hans/catkin_ws/logs/choreonoid_plugins/build.make.003.log
In file included from /usr/local/include/boost/config/header_deprecated.hpp:18,
from /usr/local/include/boost/io/detail/quoted_manip.hpp:13,
from /usr/local/include/boost/filesystem/path.hpp:32,
from /usr/local/include/boost/filesystem.hpp:16,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/stdx/filesystem:42,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Base/Archive.h:9,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/Archive:1,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosJointControllerItem.h:13,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.h:9,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:6:
/usr/local/include/boost/io/detail/quoted_manip.hpp:15:1: note: #pragma message: This header is deprecated. Use <boost/io/quoted.hpp> instead.
15 | BOOST_HEADER_DEPRECATED("<boost/io/quoted.hpp>")
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp: In member function ‘bool cnoid::BodyRosTorqueControllerItem::set_pdc_parameters(cnoid::Listing*, std::vector<double>&)’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:93:36: error: ‘format’ is not a member of ‘boost’
93 | MessageView::ERROR, boost::format("%1% (%1%)") % ex.message() % pdc_parameter_filename_
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp: In member function ‘bool cnoid::BodyRosTorqueControllerItem::load_pdc_parameters()’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:116:63: error: ‘format’ is not a member of ‘boost’
116 | MessageView::instance()->putln(MessageView::ERROR, boost::format("'PD control parameter file' is empty"));
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:121:14: error: ‘format’ is not a member of ‘boost’
121 | boost::format("PD control parameter file load failed (%1%)") % pdc_parameter_filename_
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:127:14: error: ‘format’ is not a member of ‘boost’
127 | boost::format("invalid format found (%1%)") % pdc_parameter_filename_
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:137:14: error: ‘format’ is not a member of ‘boost’
137 | boost::format("file is empty (%1%)") % pdc_parameter_filename_
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:143:14: error: ‘format’ is not a member of ‘boost’
143 | boost::format("invalid node type found (%1%)") % pdc_parameter_filename_
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:153:14: error: ‘format’ is not a member of ‘boost’
153 | boost::format("mismatch of number of the parameters (%1%)") % pdc_parameter_filename_
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:162:16: error: ‘format’ is not a member of ‘boost’
162 | boost::format("invalid node type found (%1%)") % pdc_parameter_filename_
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:172:16: error: ‘format’ is not a member of ‘boost’
172 | boost::format("joint size mismatch (%1%: %2% joint: %3%)") % it->first % listing->size() % body()->numJoints()
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosTorqueControllerItem.cpp:188:16: error: ‘format’ is not a member of ‘boost’
188 | boost::format("invalid key found %1%") % it->first
| ^~~~~~
make[2]: *** [CMakeFiles/CnoidRosBodyPlugin.dir/src/BodyRosTorqueControllerItem.cpp.o] Error 1
make[2]: *** 未完了のジョブを待っています....
In file included from /usr/local/include/boost/config/header_deprecated.hpp:18,
from /usr/local/include/boost/io/detail/quoted_manip.hpp:13,
from /usr/local/include/boost/filesystem/path.hpp:32,
from /usr/local/include/boost/filesystem.hpp:16,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/stdx/filesystem:42,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Base/Archive.h:9,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/Archive:1,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosJointControllerItem.h:13,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosJointControllerItem.cpp:6:
/usr/local/include/boost/io/detail/quoted_manip.hpp:15:1: note: #pragma message: This header is deprecated. Use <boost/io/quoted.hpp> instead.
15 | BOOST_HEADER_DEPRECATED("<boost/io/quoted.hpp>")
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosJointControllerItem.cpp: In member function ‘virtual bool cnoid::BodyRosJointControllerItem::initialize(cnoid::ControllerItem::Target*)’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosJointControllerItem.cpp:73:63: error: ‘format’ is not a member of ‘boost’
73 | MessageView::instance()->putln(MessageView::ERROR, boost::format("Target not found"));
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosJointControllerItem.cpp:76:63: error: ‘format’ is not a member of ‘boost’
76 | MessageView::instance()->putln(MessageView::ERROR, boost::format("BodyItem not found"));
| ^~~~~~
make[2]: *** [CMakeFiles/CnoidRosBodyPlugin.dir/src/BodyRosJointControllerItem.cpp.o] Error 1
In file included from /usr/local/include/boost/config/header_deprecated.hpp:18,
from /usr/local/include/boost/io/detail/quoted_manip.hpp:13,
from /usr/local/include/boost/filesystem/path.hpp:32,
from /usr/local/include/boost/filesystem.hpp:16,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/stdx/filesystem:42,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Base/Archive.h:9,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/Archive:1,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.h:12,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:1:
/usr/local/include/boost/io/detail/quoted_manip.hpp:15:1: note: #pragma message: This header is deprecated. Use <boost/io/quoted.hpp> instead.
15 | BOOST_HEADER_DEPRECATED("<boost/io/quoted.hpp>")
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp: In member function ‘virtual bool cnoid::BodyRosItem::initialize(cnoid::ControllerItem::Target*)’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:72:63: error: ‘format’ is not a member of ‘boost’
72 | MessageView::instance()->putln(MessageView::ERROR, boost::format("Target not found"));
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:75:63: error: ‘format’ is not a member of ‘boost’
75 | MessageView::instance()->putln(MessageView::ERROR, boost::format("BodyItem not found"));
| ^~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp: In member function ‘bool cnoid::BodyRosItem::createSensors(cnoid::BodyPtr)’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:216:1: warning: no return statement in function returning non-void [-Wreturn-type]
216 | }
| ^
In file included from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/PolymorphicReferencedArray:1,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Body/DeviceList.h:10,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Body/Body.h:12,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Body/CollisionLinkPair.h:9,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/CollisionLinkPair:1,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/BodyPlugin/CollisionSeq.h:9,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/BodyPlugin/SimulatorItem.h:9,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/BodyPlugin/ControllerItem.h:9,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/ControllerItem:1,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.h:4,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:1:
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h: In instantiation of ‘cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>& cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>::assign(const cnoid::PolymorphicReferencedArray<RhsReferencedType, BaseReferencedType, RhsPointerType>&) [with RhsReferencedType = cnoid::Device; RhsPointerType = cnoid::ref_ptr<cnoid::Device>; ReferencedType = cnoid::ForceSensor; BaseReferencedType = cnoid::Device; PointerType = cnoid::ref_ptr<cnoid::ForceSensor>]’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:126:54: required from here
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h:74:5: warning: no return statement in function returning non-void [-Wreturn-type]
74 | }
| ^
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h: In instantiation of ‘cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>& cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>::assign(const cnoid::PolymorphicReferencedArray<RhsReferencedType, BaseReferencedType, RhsPointerType>&) [with RhsReferencedType = cnoid::Device; RhsPointerType = cnoid::ref_ptr<cnoid::Device>; ReferencedType = cnoid::RateGyroSensor; BaseReferencedType = cnoid::Device; PointerType = cnoid::ref_ptr<cnoid::RateGyroSensor>]’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:127:56: required from here
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h:74:5: warning: no return statement in function returning non-void [-Wreturn-type]
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h: In instantiation of ‘cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>& cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>::assign(const cnoid::PolymorphicReferencedArray<RhsReferencedType, BaseReferencedType, RhsPointerType>&) [with RhsReferencedType = cnoid::Device; RhsPointerType = cnoid::ref_ptr<cnoid::Device>; ReferencedType = cnoid::AccelerationSensor; BaseReferencedType = cnoid::Device; PointerType = cnoid::ref_ptr<cnoid::AccelerationSensor>]’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:128:61: required from here
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h:74:5: warning: no return statement in function returning non-void [-Wreturn-type]
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h: In instantiation of ‘cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>& cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>::assign(const cnoid::PolymorphicReferencedArray<RhsReferencedType, BaseReferencedType, RhsPointerType>&) [with RhsReferencedType = cnoid::Device; RhsPointerType = cnoid::ref_ptr<cnoid::Device>; ReferencedType = cnoid::Camera; BaseReferencedType = cnoid::Device; PointerType = cnoid::ref_ptr<cnoid::Camera>]’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:129:50: required from here
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h:74:5: warning: no return statement in function returning non-void [-Wreturn-type]
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h: In instantiation of ‘cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>& cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>::assign(const cnoid::PolymorphicReferencedArray<RhsReferencedType, BaseReferencedType, RhsPointerType>&) [with RhsReferencedType = cnoid::Device; RhsPointerType = cnoid::ref_ptr<cnoid::Device>; ReferencedType = cnoid::RangeCamera; BaseReferencedType = cnoid::Device; PointerType = cnoid::ref_ptr<cnoid::RangeCamera>]’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:130:60: required from here
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h:74:5: warning: no return statement in function returning non-void [-Wreturn-type]
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h: In instantiation of ‘cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>& cnoid::PolymorphicReferencedArray<ReferencedType, BaseReferencedType, PointerType>::assign(const cnoid::PolymorphicReferencedArray<RhsReferencedType, BaseReferencedType, RhsPointerType>&) [with RhsReferencedType = cnoid::Device; RhsPointerType = cnoid::ref_ptr<cnoid::Device>; ReferencedType = cnoid::RangeSensor; BaseReferencedType = cnoid::Device; PointerType = cnoid::ref_ptr<cnoid::RangeSensor>]’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.cpp:131:54: required from here
/home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Util/PolymorphicReferencedArray.h:74:5: warning: no return statement in function returning non-void [-Wreturn-type]
make[2]: *** [CMakeFiles/CnoidRosBodyPlugin.dir/src/BodyRosItem.cpp.o] Error 1
In file included from /usr/local/include/boost/config/header_deprecated.hpp:18,
from /usr/local/include/boost/io/detail/quoted_manip.hpp:13,
from /usr/local/include/boost/filesystem/path.hpp:32,
from /usr/local/include/boost/filesystem.hpp:16,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/stdx/filesystem:42,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Base/Archive.h:9,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/Archive:1,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.h:12,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/RosBodyPlugin.cpp:6:
/usr/local/include/boost/io/detail/quoted_manip.hpp:15:1: note: #pragma message: This header is deprecated. Use <boost/io/quoted.hpp> instead.
15 | BOOST_HEADER_DEPRECATED("<boost/io/quoted.hpp>")
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/RosBodyPlugin.cpp:9:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/WorldRosItem.h:61:3: error: ‘CollisionLinkPairListPtr’ does not name a type; did you mean ‘CollisionLinkPairList’?
61 | CollisionLinkPairListPtr get_collisions() { return getCollisions(); }
| ^~~~~~~~~~~~~~~~~~~~~~~~
| CollisionLinkPairList
make[2]: *** [CMakeFiles/CnoidRosBodyPlugin.dir/src/RosBodyPlugin.cpp.o] Error 1
In file included from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/WorldRosItem.cpp:6:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/WorldRosItem.h:61:3: error: ‘CollisionLinkPairListPtr’ does not name a type; did you mean ‘CollisionLinkPairList’?
61 | CollisionLinkPairListPtr get_collisions() { return getCollisions(); }
| ^~~~~~~~~~~~~~~~~~~~~~~~
| CollisionLinkPairList
In file included from /usr/local/include/boost/config/header_deprecated.hpp:18,
from /usr/local/include/boost/io/detail/quoted_manip.hpp:13,
from /usr/local/include/boost/filesystem/path.hpp:32,
from /usr/local/include/boost/filesystem.hpp:16,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/stdx/filesystem:42,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/src/Base/Archive.h:9,
from /home/hans/catkin_ws/devel/include/choreonoid-1.8/cnoid/Archive:1,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/BodyRosItem.h:12,
from /home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/WorldRosItem.cpp:7:
/usr/local/include/boost/io/detail/quoted_manip.hpp:15:1: note: #pragma message: This header is deprecated. Use <boost/io/quoted.hpp> instead.
15 | BOOST_HEADER_DEPRECATED("<boost/io/quoted.hpp>")
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/WorldRosItem.cpp: In member function ‘void cnoid::WorldRosItem::publishContactsState()’:
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/WorldRosItem.cpp:119:3: error: ‘CollisionLinkPairListPtr’ was not declared in this scope
119 | CollisionLinkPairListPtr collision_pairs;
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/WorldRosItem.cpp:122:39: error: ‘class cnoid::WorldRosSimulatorItemAccessor’ has no member named ‘get_collisions’; did you mean ‘getCollisions’?
122 | if (! sim_access_ || ! sim_access_->get_collisions()) {
| ^~~~~~~~~~~~~~
| getCollisions
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/WorldRosItem.cpp:126:3: error: ‘collision_pairs’ was not declared in this scope
126 | collision_pairs = sim_access_->get_collisions();
| ^~~~~~~~~~~~~~~
/home/hans/catkin_ws/src/wrs/choreonoid_ros_pkg/choreonoid_plugins/src/WorldRosItem.cpp:126:34: error: ‘class cnoid::WorldRosSimulatorItemAccessor’ has no member named ‘get_collisions’; did you mean ‘getCollisions’?
126 | collision_pairs = sim_access_->get_collisions();
| ^~~~~~~~~~~~~~
| getCollisions
make[2]: *** [CMakeFiles/CnoidRosBodyPlugin.dir/src/WorldRosItem.cpp.o] Error 1
make[1]: *** [CMakeFiles/CnoidRosBodyPlugin.dir/all] Error 2
make: *** [all] Error 2
cd /home/hans/catkin_ws/build/choreonoid_plugins; catkin build --get-env choreonoid_plugins | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
まだ詳細は調査中なのですが取り敢えずissueを立てます
boost::format
関連で怒られます.環境はUbuntu18.04 , ros-melodicで boostは1.65,1.73を試しましたが同じエラーが観測されました.