What problem does it solve? Building the Gazebo simulator (gz-sim) from source involves choosing between multiple build front-ends, setting the right CMake flags, and diagnosing dependency failures. This Skill provides the exact commands and troubleshooting guidance for each path. ## Core Features & Use Cases - Direct CMake/Ninja builds: Configure a single gz-sim repository with build-type, testing, profiler, and install-prefix flags. - colcon workspace builds: Build the full Gazebo stack or limit compilation to gz-sim and its dependencies with --packages-up-to. - Bazel alternative: Build and test via Bazel with the pinned MODULE.bazel dependency matrix. - Failure diagnosis: Resolve common errors such as missing gz-cmake, Qt6 linker issues, sdformat mismatches, and stale gz-msgs headers. - Use Case: A robotics developer clones gz-sim on Ubuntu and needs a RelWithDebInfo build with tests enabled, then runs the shapes.sdf smoke test to verify the install. ## Quick Start Ask the assistant to build gz-sim from source in the current repository with tests enabled and then run the shapes.sdf smoke test.