Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS SITL build broken #13120

Closed
julianoes opened this issue Oct 8, 2019 · 6 comments
Closed

macOS SITL build broken #13120

julianoes opened this issue Oct 8, 2019 · 6 comments
Labels
bug Sim: SITL software in the loop simulation

Comments

@julianoes
Copy link
Contributor

julianoes commented Oct 8, 2019

After a fresh brew and brew dependencies install, I can't build for Gazebo SITL anymore.

[13/92] Generating /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/iris/iris.sdf
FAILED: /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/iris/iris.sdf
cd /Users/julianoes/src/Firmware/Tools/sitl_gazebo && rm -f /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/iris/iris.sdf && /usr/local/opt/python/libexec/bin/python /Users/julianoes/src/Firmware/Tools/sitl_gazebo/scripts/xacro.py -o /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/rotors_description/urdf/iris_base.urdf /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/rotors_description/urdf/iris_base.xacro enable_mavlink_interface:=true enable_ground_truth:=false enable_wind:=false enable_logging:=false rotors_description_dir:=/Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/rotors_description send_vision_estimation:=true send_odometry:=false && gz sdf -p /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/rotors_description/urdf/iris_base.urdf >> /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/iris/iris.sdf && rm -f /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/rotors_description/urdf/iris_base.urdf

dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.20.dylib
  Referenced from: /usr/local/bin/gz
  Reason: image not found
/bin/sh: line 1:  7162 Abort trap: 6           gz sdf -p /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/rotors_description/urdf/iris_base.urdf >> /Users/julianoes/src/Firmware/Tools/sitl_gazebo/models/iris/iris.sdf
@julianoes julianoes added bug Sim: SITL software in the loop simulation labels Oct 8, 2019
@julianoes
Copy link
Contributor Author

It looks like we need to wait for osrf/homebrew-simulation#850.

@TSC21
Copy link
Member

TSC21 commented Oct 8, 2019

Yep I was struggling with the same this weekend on sitl_gazebo: https://travis-ci.org/PX4/sitl_gazebo/jobs/594207021

@julianoes
Copy link
Contributor Author

brew on macOS is like being on a rolling release Linux 😢, it doesn't make it easy.

@TSC21
Copy link
Member

TSC21 commented Oct 9, 2019

Solution should come with osrf/homebrew-simulation#849

@julianoes
Copy link
Contributor Author

Great, this is fixed. Now I can continue to debug gstreamer and glib dependency issues.

@TSC21
Copy link
Member

TSC21 commented Oct 11, 2019

@julianoes I am already working on that here if you want to check: PX4/PX4-SITL_gazebo-classic#353 It reaches the build stage but still fails because of the protobuf problem still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Sim: SITL software in the loop simulation
Projects
None yet
Development

No branches or pull requests

2 participants