Open kjeremy opened 1 month ago
@lopsided98 should we be specifying ROS_DISTRO
, ROS_VERSION
, and ROS_PYTHON_VERSION
at build time?
Hi, I'm not that much familiar with ROS 1 and not sure why are you asking, but the answer is likely yes. There are packages that use these variables at build time to decide how to build their code, e.g. which quirks need to be applied for compatibility with different ROS versions/distributions.
@lopsided98
This contains two fixes:
The first is that
ROS_DISTRO
is read from the environment inCMakeLists.txt
. The variable is only available whenros-environment
is included as a build input. I'm not sure how this worked before. (https://github.com/jsk-ros-pkg/jsk_recognition/pull/2836)The second build fix is removing
catkin_python_setup
fromCMakeLists.txt
(https://github.com/jsk-ros-pkg/jsk_recognition/pull/2829)Fixes #406