Ask Your Question
0

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:

cd
mkdir -p ros2/src
cd ros2
wget https://raw.githubusercontent.com/ros2/ros2/release-latest/ros2.repos
vcs-import src < ros2.repos
src/ament/ament_tools/scripts/ament.py build --build-tests --symlink-install
src/ament/ament_tools/scripts/ament.py build --build-tests --symlink-install --isolated
edit retag flag offensive close merge delete

Comments

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 imageDirk 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 imagekunaltyagi ( 2018-06-12 20:16:05 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Comments

Commit 8595e166d43 solved the issue.

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 92 times

Last updated: Jun 12 '18