# "make px4\_sitl gazebo" giving multiple errors

**URL:** <https://discuss.px4.io/t/make-px4-sitl-gazebo-giving-multiple-errors/24905>\
**Category:** PX4 Autopilot\
**Created:** [November 5, 2021, 4:55pm UTC](https://discuss.px4.io/t/make-px4-sitl-gazebo-giving-multiple-errors/24905 "2021-11-05T16:55:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![apasilla](https://discuss.px4.io/letter_avatar_proxy/v4/letter/a/e19b73/32.png) [@apasilla](https://discuss.px4.io/u/apasilla)\
**Post date:** [November 5, 2021, 4:55pm UTC](https://discuss.px4.io/t/make-px4-sitl-gazebo-giving-multiple-errors/24905/1 "2021-11-05T16:55:07Z")

</div>

I followed the set up instructions and I can run a simulation with JMAVSim but when I try to run gazebo I get errors such as …

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/cmath:329:9: error: no member named ‘isless’ in the global namespace  
using ::isless;  
~~^  
Which looks like this issue is with my systems current C/C++ version not having certain libraries

Fail error incase this is helpful…

FAILED: external/Stamp/sitl\_gazebo/sitl\_gazebo-build /Users/alejandropasillas/Desktop/NASA\_Academy/PX4-Autopilot/build/px4\_sitl\_default/external/Stamp/sitl\_gazebo/sitl\_gazebo-build

cd /Users/alejandropasillas/Desktop/NASA\_Academy/PX4-Autopilot/build/px4\_sitl\_default/build\_gazebo && /usr/local/Cellar/cmake/3.21.4/bin/cmake --build /Users/alejandropasillas/Desktop/NASA\_Academy/PX4-Autopilot/build/px4\_sitl\_default/build\_gazebo – -j 10

ninja: build stopped: subcommand failed.

make: \*\*\* [px4\_sitl] Error 1

---

<div class="post-metadata">

**Author:** ![kangmin7](https://discuss.px4.io/letter_avatar_proxy/v4/letter/k/ba8739/32.png) [@kangmin7](https://discuss.px4.io/u/kangmin7)\
**Post date:** [November 19, 2021, 11:31am UTC](https://discuss.px4.io/t/make-px4-sitl-gazebo-giving-multiple-errors/24905/2 "2021-11-19T11:31:36Z")

</div>

Try redownloading Gazebo plugins:

`sudo apt-get install libprotobuf-dev libprotoc-dev protobuf-compiler libeigen3-dev libxml2-utils python-rospkg python-jinja2`

`sudo apt-get install libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly -y`

I think this will solve your problem. However, if you get another error, you may have to try:

`sudo rm /tmp/px4-sock-0`
