Unknown CMake command "ign_find_package".
I get the same error as in this post but I couldn't solve it by just sourcing my ignition workspace.
I installed ignition gazebo edifice with these instructions.
The place where I build it with colcon build --merge-install
is ~/workspace
.
Now I tried to recreate the example plugin in another folder ~/ros2_ws/src/plugins/sample_system
.
Then I source the ign workspace with . ~/workspace/install/setup.bash
and try to build the ros2_ws with colcon build
but I get this error
CMake Error at CMakeLists.txt:5 (ign_find_package):
Unknown CMake command "ign_find_package".