Closed akashjinandra closed 3 years ago
This is caused by #262.
This requires some updates in dependents. See https://github.com/ros-industrial/fanuc/pull/324 for an example PR. Specifically https://github.com/ros-industrial/fanuc/pull/324/commits/37a13af73cfece4c52a26e1b8ff6a7b7bb68805e.
We might actually revert that PR and reintroduce it in a noetic-devel
branch.
Edit: and the fanuc
builds have been fixed since https://github.com/ros-industrial/fanuc/pull/324 was merged, so those should succeed now. CI seems to confirm that.
The reason we can't just do something like add_definitions(..)
in an extras file is because simple_message
and industrial_core
basically export three different libraries, with two variants each (swap, non-swap).
So dependents must use the correct set of defines, otherwise they would be out-of-sync with whatever version of simple_message
and industrial_robot_client
they are linking against.
Note: I've submitted https://github.com/ros/rosdistro/pull/30228, which reverts the last release on Melodic.
The buildfarm will build the old version of the packages and everyone depending on the binaries will be unbroken.
Then we'll revert #262 in melodic-devel
, re-release melodic
without #262.
I hate branching for different ROS versions, but in this case it doesn't seem like we have a choice.
Ok, instead of reverting everything, I've added some bw-compatibility to the changes that were introduced in #262, which should make things build again on systems without something like https://github.com/ros-industrial/fanuc/pull/324.
@akashjinandra: could you check whether #275 fixes your builds?
It would still be better to migrate to use simple_message_DEFINITIONS
et al., but we shouldn't break packages not under our control any more like this in melodic
.
Hello, I'm running Ubuntu 18.04 with ROS Melodic, I just starting seeing an issue where the simple message/industrial core is causing issues in all of my motoman, fanuc and internal arm(ros industrial driver based) drivers.
Here is my output:
Sorry for the big file dump, I just am not sure what I could do to fix this. I tried getting ros industrial from source on melodic devel and it still fails.