-
Notifications
You must be signed in to change notification settings - Fork 7
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
Compilation error!!!!! #18
Comments
Hi Leo, and thank you for using our repo. It looks like something related to the Poco Library. I have seen that the Poco repo has been updated a lot recently. |
Thanks for your reply! My ubuntu system version is 18.04.6,and the Poco Library is the latest version from # https://github.com/pocoproject/poco ,which I installed Poco according to the instructions in the readme,and copy all the Poco file from /usr/local/lib/ to /usr/lib using the root privileges. Then I use the "catkin build" command. Besides,I also encountered problems with the Protobuf version, which can be seen in the error above. The following is the summary after compilation failure: By the way,I wonder know if my IRB1010 can run this project because it is the latest ABB production and there is little relevant information online. Thanks again for your reply! |
Therefore, you are using ROS Melodic, right? Regarding the IRB 1010, I think the repo will support this since it has an Omniore Controller. However, you will have to create your moveit_config pkg and make several changes to the launch files and config files. Unluckly I cannot support you on that since we don't have the robot in our lab. |
Yes, the version I have installed is ROS Melodic. If you recommend that I use Ubuntu 20.04 and ROS Noetic, I can try that. Additionally, I want to ask if the moveit_config_pkg file was generated using the MoveIt Assistant with the IRB1010 robot's URDF. If so, I can generate it myself. |
I managed to reproduce your problem using Docker. Therefore what I suggest to you is to move to Ubuntu 20.04. I tried to compile it in a new device and (after my last push) everything builds fine. On the other hand, I managed to make the system build in Ubuntu 18.04. The first thing you will need to do is to recompile the .proto files. To do so, navigate to:
and launch the following commands:
Now you should have 6 new files (3 .pb.cpp files and 3 .pb.h files). Please copy and replace the .h files under abb_libegm/include/abb_libegm and the .cpp files under abb_libegm/src with the new ones. Let me know if this fixes your issues Niccolo |
Yes, I just installed Ubuntu 20.04 and compiled the project following the steps in the README, and it was successful. In any case, thank you for your response. |
Nice job.But i have a big problem about compilation.
a lot of error just like:
error: ‘abi’ has not been declared
char* demangled = abi::__cxa_demangle(typeName, nullptr, nullptr, &status);
error: no matching function for call to ‘google::protobuf::internal::InternalMetadata::mutable_unknown_fields()’
return internal_metadata.mutable_unknown_fields();
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^~~~~
/home/leo/ABB_ws/src/ABB_omnicore_ros_driver-master/abb_libegm/include/abb_libegm/egm_wrapper.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^~~~~
/home/leo/ABB_ws/src/ABB_omnicore_ros_driver-master/abb_libegm/include/abb_libegm/egm_wrapper.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
I need to know how to configure the POCO library and Protobuf
Thanks!
The text was updated successfully, but these errors were encountered: