[ros-users] [Discourse.ros.org] [Next Generation ROS] Is there any compiling conflict between latest ROS2 and ROS1?

Mikael Arguedas ros.discourse at gmail.com
Tue Dec 26 13:58:56 UTC 2017



Hi @davidhuziji,

As a general rule we encourage users to build ROS2 in a terminal where ROS1 workspace is **not** sourced. In that case there is no conflict and you should be able to build the ros2 stack without issue.

In some particular cases (like building the `ros1_bridge` or the `kobuki_drivers`) there is a need to have both ROS 1 and ROS 2 workspaces sourced as this needs to be able to find both version of the packages to build. Such packages have specific build instructions in their READMEs ([ros1_bridge](https://github.com/ros2/ros1_bridge#building-the-bridge-from-source), [turtlebot2_demo](https://github.com/ros2/turtlebot2_demo/#installation-from-source)).

You shouldn't have to remove any ROS1 package to build all the existing ROS 2 packages.

Can you give more information about the builds that failed and what ROS 1 packages you had to remove?
Thanks!





---
[Visit Topic](https://discourse.ros.org/t/is-there-any-compiling-conflict-between-latest-ros2-and-ros1/3538/2) or reply to this email to respond.




More information about the ros-users mailing list