-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
repro
ouxt@ouxt-Standard-PC-Q35-ICH9-2009:~/ouxt_automation/robotx_ws$ colcon build --packages-select groot
Starting >>> groot
--- stderr: groot
/home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/QtNodeEditor/src/NodeState.cpp: In member function ‘QtNodes::NodeState::ConnectionPtrSet QtNodes::NodeState::connections(QtNodes::PortType, QtNodes::PortIndex) const’:
/home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/QtNodeEditor/src/NodeState.cpp:51:34: warning: comparison of integer expressions of different signedness: ‘QtNodes::PortIndex’ {aka ‘int’} and ‘std::vector<std::unordered_map<QUuid, QtNodes::Connection*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
51 | if( portIndex < 0 || portIndex >= connections.size() )
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.cpp: In member function ‘void SidepanelMonitor::on_timer()’:
/home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.cpp:44:42: warning: ‘bool zmq::detail::socket_base::recv(zmq::message_t*, int)’ is deprecated: from 4.3.1, use recv taking a reference to message_t and recv_flags [-Wdeprecated-declarations]
44 | while( _zmq_subscriber.recv(&msg) )
| ^
In file included from /home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.h:5,
from /home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.cpp:1:
/usr/include/zmq.hpp:1407:10: note: declared here
1407 | bool recv(message_t *msg_, int flags_ = 0)
| ^~~~
/home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.cpp: In member function ‘bool SidepanelMonitor::getTreeFromServer()’:
/home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.cpp:133:32: warning: ‘bool zmq::detail::socket_base::send(zmq::message_t&, int)’ is deprecated: from 4.3.1, use send taking message_t and send_flags [-Wdeprecated-declarations]
133 | zmq_client.send(request);
| ^
In file included from /home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.h:5,
from /home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.cpp:1:
/usr/include/zmq.hpp:1326:10: note: declared here
1326 | bool send(message_t &msg_,
| ^~~~
/home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.cpp:135:47: warning: ‘bool zmq::detail::socket_base::recv(zmq::message_t*, int)’ is deprecated: from 4.3.1, use recv taking a reference to message_t and recv_flags [-Wdeprecated-declarations]
135 | bool received = zmq_client.recv(&reply);
| ^
In file included from /home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.h:5,
from /home/ouxt/ouxt_automation/robotx_ws/src/utils/groot/bt_editor/sidepanel_monitor.cpp:1:
/usr/include/zmq.hpp:1407:10: note: declared here
1407 | bool recv(message_t *msg_, int flags_ = 0)
| ^~~~
---
Finished <<< groot [26.3s]
Summary: 1 package finished [26.5s]
1 package had stderr output: groot
ouxt@ouxt-Standard-PC-Q35-ICH9-2009:~/ouxt_automation/robotx_ws$ colcon test --packages-select groot
Starting >>> groot
--- stderr: groot
Unable to find executable: COMMAND
Unable to find executable: COMMAND
Errors while running CTest
---
Finished <<< groot [0.04s] [ with test failures ]
Summary: 1 package finished [0.25s]
1 package had stderr output: groot
1 package had test failures: groot
原因箇所
本家のテストのCMakeの誤り。
https://github.com/BehaviorTree/Groot/blob/05fe640172e3cd447ab5db31f71355789f6a48b3/test/CMakeLists.txt#L18
ワークアラウンド
- ちょっとだけなので手で直す
- Fixed CMake command API error. BehaviorTree/Groot#122 を使う
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working