Gazebo | Ignition | Community
Ask Your Question

Building examples from ignition rendering with colcon?

asked 2021-06-30 06:23:53 -0500

ddengster gravatar image

trying to build the simple_demo example in ignition-rendering has given me compile errors.

Here's the compile error: home/ddeng/ign_rendering_ws/src/ign-rendering/examples/simple_demo/ fatal error: ignition/common/Console.hh: No such file or directory #include <ignition/common/Console.hh>

For reference here’s the github link:

This all signifies that I'm missing ign-common. However, if I use the colcon build method with all the ignition dependencies in the src folder, I am unable to find the binaries for it - it looks like it wasn't built at all. Is there any way to get the examples to build correctly? Preferably with the colcon build manner of building.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2021-06-30 08:32:56 -0500

chapulina gravatar image

We have compilation instructions for that example using CMake here:

It looks like you may not have sourced your Ignition installation? Did you source install/ from your Ignition colcon workspace?

Preferably with the colcon build manner of building.

I just tried here, and if you have all dependencies correctly installed and sourced, running colcon build inside examples/simple_demo works 👍

edit flag offensive delete link more


ah thanks, that worked! 👍

ddengster gravatar imageddengster ( 2021-06-30 22:46:29 -0500 )edit

Question Tools

1 follower


Asked: 2021-06-30 06:21:39 -0500

Seen: 190 times

Last updated: Jun 30 '21