-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
compling error zmq when installing #181
Comments
@lyd00116 I recieved the same error. The problem may be in incompatibility of zmq and groot. Try to downgrade your zmq to 4.1 version and use behaviortree.cpp v3.8. |
Thank you! |
Good morning, I am facing the same exact error. using zmq 4.1 did not fix the issue. what can i do? |
I also encountered this problem, and downgraded the zmq version to 4.1, but still not solved!Is there any other solution? /home/qwert/BehaviorTree.CPP/Groot/bt_editor/sidepanel_monitor.cpp: In member function ‘void SidepanelMonitor::on_timer()’: |
@lyd00116 can you maybe share what you did for it to work? because I certainly am still getting the same errors. And the issue you mentioned doesn't go over the same error? or am i missing something? /home/wissam/work/src/Groot/bt_editor/sidepanel_monitor.cpp: In member function ‘void SidepanelMonitor::on_timer()’: |
@wisesama Sorry,I can only recover some steps about solving this problem.You can try downloading the older edition instead the master of groot.And then may ecounter some problem with c++11....................(I don't remember the exact error).Then you can modify the code inside according #172 If it works,please tell me,thank you! |
try #181 (comment) |
@lyd00116 Can't thank you enough, I used revert-157-Fix_Build branch and changed the CMakeList.txt file from the submit you mentioned and it worked! thanks again |
#172 fixed these issues but, downgrading to zmq 4.1 - https://github.com/zeromq/zeromq4-1.git gave me the following error using zmq 4.3.4 didn't throw these errors but for some reason, the TCP server never connects to GROOT for real-time monitoring In file included from /home/ritik/ilrepo/src/Groot/bt_editor/sidepanel_monitor.h:5, I am using ROS1, there's a similar issue #159 which is not fixing for ROS1 |
Do you know where I can find detailed information on learning BehaviorTree.CPP & Groot? Although there are tutorials on the official website, it is not suitable for beginners. Want to provide that kind of step-by-step detailed tutorial? @wisesama @RitikJain12 @pverma907 @lyd00116 |
Sorry,although I told you how to solve this problem,I forgot it almost in detail.So Could you tell me how to modify code to complie the revert-157-Fix_Build branch successfully? just modify those two lines? Also I do not know how to modify the Cmakelist.txt you mentioned.Thank you! |
I met an error when compling through catkin build:
/home/lyd/work/work0/groot_ws/src/Groot/bt_editor/sidepanel_monitor.cpp: In member function ‘void SidepanelMonitor::on_timer()’: /home/lyd/work/work0/groot_ws/src/Groot/bt_editor/sidepanel_monitor.cpp:44:41: error: no matching function for call to ‘zmq::socket_t::recv(zmq::message_t&)’ while( _zmq_subscriber.recv(msg) )
I also met:
/home/lyd/work/work0/groot_ws/src/Groot/bt_editor/sidepanel_monitor.cpp: In member function ‘bool SidepanelMonitor::getTreeFromServer()’: /home/lyd/work/work0/groot_ws/src/Groot/bt_editor/sidepanel_monitor.cpp:133:39: error: ‘zmq::send_flags’ has not been declared zmq_client.send(request, zmq::send_flags::none); ^~~~~~~~~~ /home/lyd/work/work0/groot_ws/src/Groot/bt_editor/sidepanel_monitor.cpp:135:60: error: ‘zmq::recv_flags’ has not been declared auto bytes_received = zmq_client.recv(reply, zmq::recv_flags::none); ^~~~~~~~~~ make[2]: *** [CMakeFiles/behavior_tree_editor.dir/bt_editor/sidepanel_monitor.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/behavior_tree_editor.dir/all] Error 2 make: *** [all] Error 2
I hope someone can help me!
The text was updated successfully, but these errors were encountered: