PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.29k stars 13.43k forks source link

ninja: error: unknown target 'gz_x500' #21599

Closed TianmingLi closed 1 year ago

TianmingLi commented 1 year ago

Attention! Please read the note below

After following This document to install gazebo garden, still got error of unknown target 'gz_x500'

and make px4_sitl gazebo-classic got error too, it worked before intalling gazebo garden.

Tried restart and relog ubuntu.

also tried bash ./PX4-Autopilot/Tools/setup/ubuntu.sh on lasted master version. still not work.

any idea of how to solve this problem?

Thanks!

beniaminopozzan commented 1 year ago

Which OS are you using? Which version of PX4?

TianmingLi commented 1 year ago

Which OS are you using?

Ubuntu 22.04

Which version of PX4?

The last version of px4

TianmingLi commented 1 year ago

After uninstall "gazebo-garden" and reinstall "gazebo-ignition",

make px4_sitl gazebo-classic works as before.

So, i just trying to install whole development environment in a brand new Ubuntu 2204, hope this time "gazebo-garden" will work.

TianmingLi commented 1 year ago

Install whole development environment on a brand new Ubuntu 2204 through bash ./PX4-Autopilot/Tools/setup/ubuntu.sh

Now make px4_sitl gz_x500 works