Groot
Groot copied to clipboard
Can't build Groot PKG based on ROS2-foxy
Hi, i have met build Groot PKG problem based on ROS2-foxy.
The error display below:
/home/wilsion/dev_ws/src/Groot/QtNodeEditor/src/NodeState.cpp: In member function ‘QtNodes::NodeState::ConnectionPtrSet QtNodes::NodeState::connections(QtNodes::PortType, QtNodes::PortIndex) const’:
/home/wilsion/dev_ws/src/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/wilsion/dev_ws/src/Groot/bt_editor/sidepanel_monitor.cpp: In member function ‘void SidepanelMonitor::on_timer()’:
/home/wilsion/dev_ws/src/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/wilsion/dev_ws/src/Groot/bt_editor/sidepanel_monitor.h:5,
from /home/wilsion/dev_ws/src/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/wilsion/dev_ws/src/Groot/bt_editor/sidepanel_monitor.cpp: In member function ‘bool SidepanelMonitor::getTreeFromServer()’:
/home/wilsion/dev_ws/src/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/wilsion/dev_ws/src/Groot/bt_editor/sidepanel_monitor.h:5,
from /home/wilsion/dev_ws/src/Groot/bt_editor/sidepanel_monitor.cpp:1:
/usr/include/zmq.hpp:1326:10: note: declared here
1326 | bool send(message_t &msg_,
| ^~~~
/home/wilsion/dev_ws/src/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/wilsion/dev_ws/src/Groot/bt_editor/sidepanel_monitor.h:5,
from /home/wilsion/dev_ws/src/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)
| ^~~~
/usr/bin/ld: CMakeFiles/replay_test.dir/replay_test.cpp.o: in function ReplyTest::ReplyTest()': replay_test.cpp:(.text._ZN9ReplyTestC2Ev[_ZN9ReplyTestC5Ev]+0x1f): undefined reference to
vtable for ReplyTest'
/usr/bin/ld: CMakeFiles/replay_test.dir/replay_test.cpp.o: in function ReplyTest::~ReplyTest()': replay_test.cpp:(.text._ZN9ReplyTestD2Ev[_ZN9ReplyTestD5Ev]+0x13): undefined reference to
vtable for ReplyTest'
collect2: error: ld returned 1 exit status
Had any guys met this error and fix it. I'm glad to see your reply. THX.
I have the same building on Rolling, though these are warnings not show stopping errors.