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

error compiling groot ROS Melodic #198

Open
ariccspstk opened this issue Dec 8, 2023 · 0 comments
Open

error compiling groot ROS Melodic #198

ariccspstk opened this issue Dec 8, 2023 · 0 comments

Comments

@ariccspstk
Copy link

This is what i get. I am using the debian pacakge of BehaviorTree

/home/ubuntu/behave/src/Groot/bt_editor/sidepanel_monitor.cpp: In member function ‘void SidepanelMonitor::on_timer()’:
/home/ubuntu/behave/src/Groot/bt_editor/sidepanel_monitor.cpp:61:41: error: no matching function for call to ‘zmq::socket_t::recv(zmq::message_t&)’
61 | while( zmq_subscriber.recv(msg) )
| ^
In file included from /home/ubuntu/behave/src/Groot/bt_editor/sidepanel_monitor.h:5,
from /home/ubuntu/behave/src/Groot/bt_editor/sidepanel_monitor.cpp:1:
/usr/include/zmq.hpp:625:23: note: candidate: ‘size_t zmq::socket_t::recv(void*, size_t, int)’
625 | inline size_t recv (void *buf
, size_t len_, int flags_ = 0)
| ^~~~
/usr/include/zmq.hpp:625:23: note: candidate expects 3 arguments, 1 provided
/usr/include/zmq.hpp:635:21: note: candidate: ‘bool zmq::socket_t::recv(zmq::message_t*, int)’
635 | inline bool recv (message_t msg_, int flags_ = 0)
| ^~~~
/usr/include/zmq.hpp:635:38: note: no known conversion for argument 1 from ‘zmq::message_t’ to ‘zmq::message_t

635 | inline bool recv (message_t *msg_, int flags_ = 0)
| ~~~~~~~~~~~^~~~
/home/ubuntu/behave/src/Groot/bt_editor/sidepanel_monitor.cpp: In member function ‘bool SidepanelMonitor::getTreeFromServer()’:
/home/ubuntu/behave/src/Groot/bt_editor/sidepanel_monitor.cpp:149:39: error: ‘zmq::send_flags’ has not been declared
149 | zmq_client.send(request, zmq::send_flags::none);
| ^~~~~~~~~~
/home/ubuntu/behave/src/Groot/bt_editor/sidepanel_monitor.cpp:151:60: error: ‘zmq::recv_flags’ has not been declared
151 | auto bytes_received = zmq_client.recv(reply, zmq::recv_flags::none);
| ^~~~~~~~~~
Groot/CMakeFiles/behavior_tree_editor.dir/build.make:289: recipe for target 'Groot/CMakeFiles/behavior_tree_editor.dir/bt_editor/sidepanel_monitor.cpp.o' failed
make[2]: *** [Groot/CMakeFiles/behavior_tree_editor.dir/bt_editor/sidepanel_monitor.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:492: recipe for target 'Groot/CMakeFiles/behavior_tree_editor.dir/all' failed
make[1]: *** [Groot/CMakeFiles/behavior_tree_editor.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

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

No branches or pull requests

1 participant