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

error in installing px3-sim-gazebo #2937

Open
ytl001 opened this issue Jan 13, 2025 · 0 comments
Open

error in installing px3-sim-gazebo #2937

ytl001 opened this issue Jan 13, 2025 · 0 comments
Labels

Comments

@ytl001
Copy link

ytl001 commented Jan 13, 2025

$ brew config

HOMEBREW_VERSION: 4.4.15
ORIGIN: https://github.com/Homebrew/brew
HEAD: b6fafba4864d65acabf966415e14b2dd86d81e1a
Last commit: 8 days ago
Branch: stable
Core tap JSON: 12 Jan 21:55 UTC
Core cask tap JSON: 12 Jan 21:55 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.uFn4DKr4jf/org.xquartz:0
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 3.3.6 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby
CPU: quad-core 64-bit kabylake
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 13.7.2-x86_64
CLT: 14.3.1.0.1.1683849156
Xcode: N/A


See the 2 errors near the bottom below. I have updated Command Line Tools using "sudo xcode-select --install" but the errors persist.

$ brew install px4-sim-gazebo

==> Downloading https://formulae.brew.sh/api/formula.jws.json
############################################################################################################################# 100.0%
==> Fetching dependencies for px4/px4/px4-sim-gazebo: exiftool, libavif, gd, gdk-pixbuf, librsvg, graphviz, faac, faad2, fdk-aac, graphene, dbus, libxfixes, libxi, libxtst, at-spi2-core, gsettings-desktop-schemas, hicolor-icon-theme, libepoxy, gtk+3, gtk4, json-glib, libnice, libshout, glib-networking, libpsl, libsoup, libusrsctp, orc, gobject-introspection, py3cairo, pygobject3, rtmpdump, srtp, taglib, libcuefile, libreplaygain, musepack, gstreamer, metis, libomp, suite-sparse, ceres-solver, onnx, pugixml, openvino, cgns, double-conversion, libharu, nlohmann-json, hunspell, libmng, qt, pyqt, utf8cpp, vtk, glew, opencv, osrf/simulation/ignition-cmake2, [email protected], osrf/simulation/ignition-math6, osrf/simulation/ignition-common3, osrf/simulation/ignition-tools, osrf/simulation/ignition-msgs5, osrf/simulation/ignition-fuel-tools4, osrf/simulation/ignition-transport8, libtar, qwt-qt5, osrf/simulation/tinyxml1, osrf/simulation/sdformat9, osrf/simulation/simbody, osrf/simulation/gazebo11 and ant

...

==> Pouring [email protected]
==> /usr/local/Cellar/[email protected]/3.11.11/bin/python3.11 -Im ensurepip
==> /usr/local/Cellar/[email protected]/3.11.11/bin/python3.11 -Im pip install -v --no-index --upgrade --isolated --target=/usr/local/lib/
🍺 /usr/local/Cellar/[email protected]/3.11.11: 3,304 files, 61.3MB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/ignition-math6
==> Pouring ignition-math6-6.15.1.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/ignition-math6/6.15.1: 154 files, 3.9MB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/ignition-common3
==> Pouring ignition-common3-3.17.0_4.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/ignition-common3/3.17.0_4: 246 files, 2.3MB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/ignition-tools
==> Pouring ignition-tools-1.5.0_1.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/ignition-tools/1.5.0_1: 15 files, 130KB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/ignition-msgs5
==> Pouring ignition-msgs5-5.11.0_48.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/ignition-msgs5/5.11.0_48: 740 files, 7.5MB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/ignition-fuel-tools4
==> Pouring ignition-fuel-tools4-4.9.1_34.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/ignition-fuel-tools4/4.9.1_34: 64 files, 971.8KB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/ignition-transport8
==> Pouring ignition-transport8-8.5.0_32.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/ignition-transport8/8.5.0_32: 111 files, 1.8MB
==> Installing px4/px4/px4-sim-gazebo dependency: libtar
==> Downloading https://ghcr.io/v2/homebrew/core/libtar/manifests/1.2.20-2
Already downloaded: /Users/ytl/Library/Caches/Homebrew/downloads/23b46358622748699c1fe273ecb72904ce38c0eff55d7d60d4d0a23726dd7640--libtar-1.2.20-2.bottle_manifest.json
==> Pouring libtar--1.2.20.ventura.bottle.2.tar.gz
🍺 /usr/local/Cellar/libtar/1.2.20: 85 files, 231.9KB
==> Installing px4/px4/px4-sim-gazebo dependency: qwt-qt5
==> Downloading https://ghcr.io/v2/homebrew/core/qwt-qt5/manifests/6.3.0
Already downloaded: /Users/ytl/Library/Caches/Homebrew/downloads/53f90f0abd89abf216c37c580889ecdaabdcb782d11ed5d9ea42ca712a01e519--qwt-qt5-6.3.0.bottle_manifest.json
==> Pouring qwt-qt5--6.3.0.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/qwt-qt5/6.3.0: 2,212 files, 33.2MB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/tinyxml1
==> Pouring tinyxml1-2.6.2.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/tinyxml1/2.6.2: 8 files, 214.7KB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/sdformat9
==> Pouring sdformat9-9.10.1_1.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/sdformat9/9.10.1_1: 525 files, 3.5MB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/simbody
==> Pouring simbody-3.7.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/simbody/3.7: 3,915 files, 142.0MB
==> Installing px4/px4/px4-sim-gazebo dependency: osrf/simulation/gazebo11
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Settings.

If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 15.2.

==> Patching
==> Applying brew_python_fix.patch
==> cmake .. -DQWT_WIN_INCLUDE_DIR=/usr/local/opt/qwt-qt5/lib/qwt.framework/Headers -DQWT_WIN_LIBRARY_DIR=/usr/local/opt/qwt-qt5/lib
==> make install
Last 15 lines from /Users/ytl/Library/Logs/Homebrew/gazebo11/02.make:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from /tmp/gazebo11-20250112-91282-gjq0f/gazebo-11.15.0/plugins/rest_web/RestUiPlugin.cc:24:
In file included from /tmp/gazebo11-20250112-91282-gjq0f/gazebo-11.15.0/plugins/rest_web/RestUiPlugin.hh:24:
In file included from /tmp/gazebo11-20250112-91282-gjq0f/gazebo-11.15.0/gazebo/gazebo.hh:20:
In file included from /tmp/gazebo11-20250112-91282-gjq0f/gazebo-11.15.0/gazebo/gazebo_core.hh:21:
In file included from /tmp/gazebo11-20250112-91282-gjq0f/gazebo-11.15.0/build/gazebo/transport/transport.hh:5:
/tmp/gazebo11-20250112-91282-gjq0f/gazebo-11.15.0/gazebo/transport/IOManager.hh:45:28: error: no type named 'io_service' in namespace 'boost::asio'
public: boost::asio::io_service &GetIO();
~~~~~~~~~~~~~^
2 errors generated.
make[2]: *** [plugins/rest_web/CMakeFiles/RestUiPlugin.dir/RestUiLoginDialog.cc.o] Error 1
2 errors generated.
make[2]: *** [plugins/rest_web/CMakeFiles/RestUiPlugin.dir/RestUiPlugin.cc.o] Error 1
make[1]: *** [plugins/rest_web/CMakeFiles/RestUiPlugin.dir/all] Error 2
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/osrf/homebrew-simulation/issues

Error: A newer Command Line Tools release is available.
Update them from Software Update in System Settings.

If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 15.2.

@ytl001 ytl001 added the bug label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant