-
Notifications
You must be signed in to change notification settings - Fork 165
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
Build fail on Noetic #166
Comments
Hi @RaduCorcodel, Can you I created the branch a few days ago from the ROS Melodic branch, but only merge its actual content today. It should now work and you should be able to build with the latest changes. Best, |
No worries, I wasn't sure if the problem was on my end because the computer had a slight hiccup when installing ROS. Installed package was broken but I thought I fixed it. But with the latest commit, everything builds just fine so it's resolved. I have the identical problem when I tried to build the ROS package from Robotiq (we're also using other grippers from Robotiq and controlling them through a separate HW controller). Do you have a hint of what causes this error in the first place? Maybe it's an easy fix since their repo doesn't have a Noetic branch yet. |
Yes, it is because of the 2 repos that we are using in the "third_party" folder. They are both not compatible with the newest version of Gazebo. First, we were previously using roboticsgroup_gazebo_plugins. This repo is outdated and if you go on its github page you will find the link to the newest (and working) repo. Also (and I think this is where you error comes from), the third_party/gazebo-pkgs is also outdated and defines the compiler version to c++11 in the CMakelists.txt (which is not compatible with the math6 librairy or something). You can make it work by using c++17 instead (if I remember correctly) or by using the latest version of its repo (like I did). To change the compiler version, you would need something like that in the CMakelists.txt files within the package :
instead of
You can find hints about this in the huge output you provided :
... Hope this answers your question |
This is perfect. I did see the compiler hinting to use C++17 and I did set it in the metapackage hoping it will apply to the entire build, but now that I think of it I think it gets overwritten by the sub-project's CMakeLists. I'll take a second pass at it and fingers crossed it works. Thanks again for the tips, it's exactly what I need to get myself started. Best, |
Fresh install of Ubuntu20 and fresh install of ROS Noetic. I cloned the repo and switched to noetic-devel branch, then followed the build instructions exactly. Tried to build ros_kortex and during build I get the following sets of errors:
The text was updated successfully, but these errors were encountered: