ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rviz_rendering behaves differently in isolated and non-isolated build scenarios

asked 2018-06-10 20:25:18 -0500

kunaltyagi gravatar image

updated 2018-06-12 20:14:45 -0500

I'm building ros2 from source using this dockerfile. This is outcome of this question. TLDR: the additional packages recommended on the wiki plus ros2:ardent-basic image.

Isolated build complete successfully, but non-isolated builds fail (specifically rviz_rendering fails due to missing RenderSystems/GL/OgreGLPlugin.h). Apart from this package, no other package has such an issue. Ideally, I'd expect the non-isolated build to not fail for missing header files if the isolated build doesn't (as @marguedas pointed it out on this post).

To reproduce, use the docker image and run:

mkdir -p ros2/src
cd ros2
vcs-import src < ros2.repos
src/ament/ament_tools/scripts/ build --build-tests --symlink-install
src/ament/ament_tools/scripts/ build --build-tests --symlink-install --isolated
edit retag flag offensive close merge delete


Please make sure to provide complete steps to reproduce the problem and and that they work. The above has problems with the directories as well as the URL which makes it extra effort for anyone trying to reproduce your problem.

Dirk Thomas gravatar image Dirk Thomas  ( 2018-06-12 12:23:53 -0500 )edit

Sorry about the mess. I've corrected it and am trying to reproduce it again. Those were big brain fade events

kunaltyagi gravatar image kunaltyagi  ( 2018-06-12 20:16:05 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-12 12:24:00 -0500

Dirk Thomas gravatar image

I just used two different Docker containers to run the two ament build calls. The result of the first container doing a non-isolated build matches the result of the second container doing an isolated build. Both builds passed without a problem for me.

edit flag offensive delete link more


Commit 8595e166d43 solved the issue.

kunaltyagi gravatar image kunaltyagi  ( 2018-06-13 03:29:48 -0500 )edit

Question Tools



Asked: 2018-06-10 20:25:18 -0500

Seen: 235 times

Last updated: Jun 12 '18