Building examples from ignition rendering with colcon?

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

For reference here’s the link: ign-rendering/examples/simple_demo at ign-rendering5 · ignitionrobotics/ign-rendering · GitHub

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.

Non-open-ended, technical questions like this suit the designated Q/A forum https://answers.gazebosim.org :slight_smile:

1 Like

My bad, please close this thread. Moved to https://answers.gazebosim.org/question/27141/building-examples-from-ignition-rendering-with-colcon/

1 Like