# Building examples from ignition rendering with colcon?

**URL:** <https://discourse.openrobotics.org/t/building-examples-from-ignition-rendering-with-colcon/48944>\
**Category:** Gazebo General\
**Tags:** ignition, rendering\
**Created:** [June 30, 2021, 10:21am UTC](https://discourse.openrobotics.org/t/building-examples-from-ignition-rendering-with-colcon/48944 "2021-06-30T10:21:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddengster](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/ddengster/32/9455_2.png) [@ddengster](https://discourse.openrobotics.org/u/ddengster)\
**Post date:** [June 30, 2021, 10:21am UTC](https://discourse.openrobotics.org/t/building-examples-from-ignition-rendering-with-colcon/48944/1 "2021-06-30T10:21:51Z")

</div>

trying to build the simple\_demo example in ignition-rendering has given me compile errors.

For reference here’s the link: [gz-rendering/examples/simple\_demo at ign-rendering5 · gazebosim/gz-rendering · GitHub](https://github.com/ignitionrobotics/ign-rendering/tree/ign-rendering5/examples/simple_demo)

```auto
home/ddeng/ign_rendering_ws/src/ign-rendering/examples/simple_demo/Main.cc:30:10: fatal error: ignition/common/Console.hh: No such file or directory
 #include <ignition/common/Console.hh>
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/simple_demo.dir/build.make:63: CMakeFiles/simple_demo.dir/Main.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/simple_demo.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

```

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.

---

<div class="post-metadata">

**Author:** ![130s\_gazebo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/130s_gazebo/32/27221_2.png) [@130s\_gazebo](https://discourse.openrobotics.org/u/130s_gazebo)\
**Post date:** [June 30, 2021, 11:04am UTC](https://discourse.openrobotics.org/t/building-examples-from-ignition-rendering-with-colcon/48944/2 "2021-06-30T11:04:03Z")

</div>

Non-open-ended, technical questions like this suit the designated Q/A forum [https://answers.gazebosim.org](https://answers.gazebosim.org) 🙂

---

<div class="post-metadata">

**Author:** ![ddengster](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/ddengster/32/9455_2.png) [@ddengster](https://discourse.openrobotics.org/u/ddengster)\
**Post date:** [June 30, 2021, 11:27am UTC](https://discourse.openrobotics.org/t/building-examples-from-ignition-rendering-with-colcon/48944/3 "2021-06-30T11:27:04Z")

</div>

My bad, please close this thread. Moved to [Building examples from ignition rendering with colcon? - Gazebo Answers archive](https://answers.gazebosim.org/question/27141/building-examples-from-ignition-rendering-with-colcon/)
