lawyeh
1
Hello,
This is for those looking for a solution when following the Toolchain installation guide for PX4-Autopilot:
Once running the command make px4_sitl gazebo
, you may encounter this error:
FAILED: external/Stamp/sitl_gazebo-classic/sitl_gazebo-classic-build /Users/law/PX4-Autopilot/build/px4_sitl_default/external/Stamp/sitl_gazebo-classic/sitl_gazebo-classic-build
cd /Users/law/PX4-Autopilot/build/px4_sitl_default/build_gazebo-classic && /opt/homebrew/Cellar/cmake/3.30.3/bin/cmake --build /Users/law-m2/PX4-Autopilot/build/px4_sitl_default/build_gazebo-classic -- -j 13
ninja: build stopped: subcommand failed.
make: *** [px4_sitl] Error 1
I found the solution in Github WITHOUT explanation as to why this works:
brew uninstall --ignore-dependencies QT
Link to solution:
Anyway, posted this for anyone else who encountered this issue. Also, I would greatly appreciate it if anyone could explain why that solution works.
1 Like
Thank you for posting this - after much pain and multiple rebuilds of my Mac. I ran into this issue and your fix resolved it! Thanks @lawyeh