osrf / homebrew-simulation

Homebrew tap for osrf simulation software
Apache License 2.0
56 stars 74 forks source link

ogre1.9 fails to build from source on Mac M1/Intel #2646

Closed user-2048 closed 4 months ago

user-2048 commented 4 months ago

Hi I'm trying to build gazebo11 on my Mac and it gets most of the way and then comes up with errors. Can I get any advice on ways to get gazebo (or similar ROS1 simulator) working? I'm fairly new to this, so sorry if I haven't made it clear what the issue is.

After running with --verbose Error: osrf/simulation/ogre1.9 1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9 did not build Logs: /Users/KarolinaMungai/Library/Logs/Homebrew/ogre1.9/00.options.out /Users/KarolinaMungai/Library/Logs/Homebrew/ogre1.9/01.cmake /Users/KarolinaMungai/Library/Logs/Homebrew/ogre1.9/01.cmake.cc /Users/KarolinaMungai/Library/Logs/Homebrew/ogre1.9/02.make /Users/KarolinaMungai/Library/Logs/Homebrew/ogre1.9/02.make.cc /Users/KarolinaMungai/Library/Logs/Homebrew/ogre1.9/build

This is what comes up at the end when I try download. ==> make install Last 15 lines from /Users/KarolinaMungai/Library/Logs/Homebrew/ogre1.9/02.make: 20 errors generated. 20 errors generated. make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAlignedAllocator.cpp.o] Error 1 20 errors generated. 20 errors generated. 20 errors generated. make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimable.cpp.o] Error 1 make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimationState.cpp.o] Error 1 make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAtomicScalar.cpp.o] Error 1 make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimationTrack.cpp.o] Error 1 make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreArchiveManager.cpp.o] Error 1 20 errors generated. make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimation.cpp.o] Error 1 make[1]: [OgreMain/CMakeFiles/OgreMain.dir/all] Error 2 make: *** [all] Error 2

diysumit commented 4 months ago

Getting same errors

`(base) โžœ ~ curl -ssL http://get.gazebosim.org | sh

GAZEBO INSTALLATION SCRIPT

This script is installing the latest stable version of Gazebo Simulator available from your package manager

No receipt for 'org.macosforge.xquartz.pkg' found at '/'. package-id: org.xquartz.X11 version: 2.8.5 volume: / location: install-time: 1714714299 ==> Updating Homebrew... Already up-to-date. ==> Fetching dependencies for osrf/simulation/gazebo11: dartsim, jasper, graphviz, osrf/simulation/ignition-cmake2, pybind11, python@3.11, ruby, 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, osrf/simulation/ogre1.9, qwt-qt5, osrf/simulation/tinyxml1, osrf/simulation/sdformat9 and osrf/simulation/simbody ==> Fetching dartsim ==> Downloading https://ghcr.io/v2/homebrew/core/dartsim/manifests/6.13.2_3 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/dartsim/blobs/sha256:d482ac5d4f ######################################################################### 100.0% ==> Fetching jasper ==> Downloading https://ghcr.io/v2/homebrew/core/jasper/manifests/4.2.4 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/jasper/blobs/sha256:a9c32c908bd ######################################################################### 100.0% ==> Fetching graphviz ==> Downloading https://ghcr.io/v2/homebrew/core/graphviz/manifests/11.0.0 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/graphviz/blobs/sha256:29eb1e32e ######################################################################### 100.0% ==> Fetching osrf/simulation/ignition-cmake2 ==> Downloading https://osrf-distributions.s3.amazonaws.com/ign-cmake/releases/i ######################################################################### 100.0% ==> Fetching pybind11 ==> Downloading https://ghcr.io/v2/homebrew/core/pybind11/manifests/2.12.0 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pybind11/blobs/sha256:567ce43ee ######################################################################### 100.0% ==> Fetching python@3.11 ==> Downloading https://ghcr.io/v2/homebrew/core/python/3.11/manifests/3.11.9 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/python/3.11/blobs/sha256:d986c0 ######################################################################### 100.0% ==> Fetching ruby ==> Downloading https://ghcr.io/v2/homebrew/core/ruby/manifests/3.3.1 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/844452a66e10bb7cb2dcc8942491cf29cf39ee3e4f47e379bd22f1ff461e30e4--ruby-3.3.1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/ruby/blobs/sha256:737689c80a9c9 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/6f561c6071a423eb7984d3e11b970ae2240521b054512507929705550f39ad2a--ruby--3.3.1.arm64_sonoma.bottle.tar.gz ==> Fetching osrf/simulation/ignition-math6 ==> Downloading https://osrf-distributions.s3.amazonaws.com/ign-math/releases/ig ######################################################################### 100.0% ==> Fetching osrf/simulation/ignition-common3 ==> Downloading https://osrf-distributions.s3.amazonaws.com/ign-common/releases/ ######################################################################### 100.0% ==> Fetching osrf/simulation/ignition-tools ==> Downloading https://osrf-distributions.s3.amazonaws.com/ign-tools/releases/i ######################################################################### 100.0% ==> Fetching osrf/simulation/ignition-msgs5 ==> Downloading https://github.com/gazebosim/gz-msgs/commit/0c0926c37042ac8f5aeb ######################################################################### 100.0% ==> Downloading https://osrf-distributions.s3.amazonaws.com/ign-msgs/releases/ig ######################################################################### 100.0% ==> Fetching osrf/simulation/ignition-fuel-tools4 ==> Downloading https://osrf-distributions.s3.amazonaws.com/ign-fuel-tools/relea ######################################################################### 100.0% ==> Fetching osrf/simulation/ignition-transport8 ==> Downloading https://osrf-distributions.s3.amazonaws.com/ign-transport/releas ######################################################################### 100.0% ==> Fetching libtar ==> Downloading https://ghcr.io/v2/homebrew/core/libtar/manifests/1.2.20-2 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtar/blobs/sha256:63c312ae75a ######################################################################### 100.0% ==> Fetching osrf/simulation/ogre1.9 ==> Downloading https://gist.github.com/NikolausDemmel/2b11d1b49b35cd27a102/raw/ Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/e7c203b88a808ca752ebac27f8b00b295445f8651766e688eabac24ca91f2af8--fix-1.9-HEAD.diff ==> Downloading https://gist.githubusercontent.com/NikolausDemmel/927bd7bb3f14c1 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/ed6176508d9571d70a8a8b9c812c24e9fa7e56e4bfb6284e836cbafbfaa9c98c--ogre1.9.patch ==> Downloading https://gist.githubusercontent.com/iche033/68349eebfc436e484b70e Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/4cf7ce49769de5262fd9a6a9858ff48c9104aaa3873fdd80419964a928372486--ogre-1.9-ois.patch ==> Downloading https://gist.githubusercontent.com/iche033/b73766fac9ab3d628a79b Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/decf335241bb718c38a96a2a2a70cfa096762c4beb4dc2f3e4a16f889ed36002--ogre-1.9-agl.patch ==> Downloading https://gist.githubusercontent.com/iche033/e0080a592c890cc9a4fce Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/c15e631644dee75637c0cc48b026154a91280d8c057a25bfb1b3eda50e7499c8--ogre-1.9-cocoa_window_scale.patch ==> Downloading https://gist.githubusercontent.com/iche033/e2b152d9df080b21f71ba Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/d170e4463cc8b76d13766d512b11bdab092bbf4407be160a479c718b9a0a099b--ogre-1.9-cxx_flags.patch ==> Downloading https://gist.githubusercontent.com/iche033/2b5e2ba31436881f1db29 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/685334483037480ddd52ca2f1dbad6eb35a573818150b82cc2de714cb99becaf--ogre-1.9-findogre.patch ==> Downloading https://github.com/OGRECave/ogre/commit/cade48b4c2215dd77ea74b7a Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/d1d1b1546f3d7d50f8a0a37c28e7221c498c83ce5db8a239d770b7dc74bd1633--cade48b4c2215dd77ea74b7aa219a22c2a5d6654.patch ==> Downloading https://github.com/OGRECave/ogre/commit/2371c8d001725190a9cda62d Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/b9b188483f25c506521c31da22540bd8c596fc9c38039cf0c96375a271f391b3--2371c8d001725190a9cda62dc5df282cde78f951.patch ==> Downloading https://github.com/scpeters/ogre/commit/8fcfe0885e6bd98d971250d4 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/92546ae2ac08eb68f3076eaff910d6f37892a71d4035ead212b1f827d4d9e3a3--8fcfe0885e6bd98d971250d4a3fb9a23e3743dfd.patch ==> Downloading https://github.com/scpeters/ogre/commit/c39b6df49618773357da0b54 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/32a0b2d5366cc6e476bfee9f50ec7207164ead6287ce326019beaa38b875eed9--c39b6df49618773357da0b54437f351b57168d12.patch ==> Downloading https://osrf-distributions.s3.amazonaws.com/ogre/releases/sinbad Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/af051d2d04619fdb9791203d7d4d20e63622bbd39401ccf50e3df5ff4bdebff4--sinbad-ogre-108ab0bcc696.tar.bz2 ==> Fetching qwt-qt5 ==> Downloading https://ghcr.io/v2/homebrew/core/qwt-qt5/manifests/6.2.0-1 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/46a18f812dc244b6bcc7112cd8f207d0a62f67291b9390fc905e99e9d10b52fa--qwt-qt5-6.2.0-1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/qwt-qt5/blobs/sha256:1cb8609706 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/f77bd29c7c15cbbb525b2ddd90c1a8b21fb67f6694b37d1422a23e46ca1abfdb--qwt-qt5--6.2.0.arm64_sonoma.bottle.1.tar.gz ==> Fetching osrf/simulation/tinyxml1 ==> Downloading https://raw.githubusercontent.com/robotology/yarp/59eedfbaa1069a ######################################################################### 100.0% ==> Downloading https://raw.githubusercontent.com/robotology/yarp/59eedfbaa1069a ######################################################################### 100.0% ==> Downloading https://gist.githubusercontent.com/scpeters/6325123/raw/cfb079be ######################################################################### 100.0% ==> Downloading https://downloads.sourceforge.net/project/tinyxml/tinyxml/2.6.2/ ==> Downloading from https://excellmedia.dl.sourceforge.net/project/tinyxml/tiny ######################################################################### 100.0% ==> Fetching osrf/simulation/sdformat9 ==> Downloading https://osrf-distributions.s3.amazonaws.com/sdformat/releases/sd ######################################################################### 100.0% ==> Fetching osrf/simulation/simbody ==> Downloading https://github.com/simbody/simbody/archive/refs/tags/Simbody-3.7 ==> Downloading from https://codeload.github.com/simbody/simbody/tar.gz/refs/tag

-=O=-

==> Fetching osrf/simulation/gazebo11 ==> Downloading https://github.com/gazebosim/gazebo-classic/commit/d04e1e0e9473e ######################################################################### 100.0% ==> Downloading https://github.com/gazebosim/gazebo-classic/commit/3a9efee7ccdf5 ######################################################################### 100.0% ==> Downloading https://gist.githubusercontent.com/scpeters/9199370/raw/afe59558 ######################################################################### 100.0% ==> Downloading https://osrf-distributions.s3.amazonaws.com/gazebo/releases/gaze ######################################################################### 100.0% ==> Installing gazebo11 from osrf/simulation ==> Installing dependencies for osrf/simulation/gazebo11: dartsim, jasper, graphviz, osrf/simulation/ignition-cmake2, pybind11, python@3.11, ruby, 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, osrf/simulation/ogre1.9, qwt-qt5, osrf/simulation/tinyxml1, osrf/simulation/sdformat9 and osrf/simulation/simbody ==> Installing osrf/simulation/gazebo11 dependency: dartsim ==> Downloading https://ghcr.io/v2/homebrew/core/dartsim/manifests/6.13.2_3 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/8d74fb1097228dc8de1f7c007de2a5828e4619b223c1f489feb69d985e5efca6--dartsim-6.13.2_3.bottle_manifest.json ==> Pouring dartsim--6.13.2_3.arm64_sonoma.bottle.tar.gz ๐Ÿบ /opt/homebrew/Cellar/dartsim/6.13.2_3: 1,081 files, 48.0MB ==> Installing osrf/simulation/gazebo11 dependency: jasper ==> Downloading https://ghcr.io/v2/homebrew/core/jasper/manifests/4.2.4 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/0edc7047fdbd9e0fd88f4c5ceed204b57e9b4d4f42c1b1b21c502d68fce31118--jasper-4.2.4.bottle_manifest.json ==> Pouring jasper--4.2.4.arm64_sonoma.bottle.tar.gz ๐Ÿบ /opt/homebrew/Cellar/jasper/4.2.4: 44 files, 1.6MB ==> Installing osrf/simulation/gazebo11 dependency: graphviz ==> Downloading https://ghcr.io/v2/homebrew/core/graphviz/manifests/11.0.0 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/768f64efd9c1d79c6a829d6d8e438f5fb691bf1a34a729e16cf74c9fe8e33983--graphviz-11.0.0.bottle_manifest.json ==> Pouring graphviz--11.0.0.arm64_sonoma.bottle.tar.gz ๐Ÿบ /opt/homebrew/Cellar/graphviz/11.0.0: 282 files, 7.1MB ==> Installing osrf/simulation/gazebo11 dependency: osrf/simulation/ignitio ==> cmake .. ==> make install ๐Ÿบ /opt/homebrew/Cellar/ignition-cmake2/2.17.1: 83 files, 1.8MB, built in 2 seconds ==> Installing osrf/simulation/gazebo11 dependency: pybind11 ==> Downloading https://ghcr.io/v2/homebrew/core/pybind11/manifests/2.12.0 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/5006580797f81e48243038261bbb5814ae30e36b3f35431dfc42c68edc5418fe--pybind11-2.12.0.bottle_manifest.json ==> Pouring pybind11--2.12.0.arm64_sonoma.bottle.tar.gz ๐Ÿบ /opt/homebrew/Cellar/pybind11/2.12.0: 158 files, 2.5MB ==> Installing osrf/simulation/gazebo11 dependency: python@3.11 ==> Downloading https://ghcr.io/v2/homebrew/core/python/3.11/manifests/3.11.9 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/434092e38cddf8d8908f3dad7a233fe43e47dc9fdf39bac5845e656f0bc1110f--python@3.11-3.11.9.bottle_manifest.json ==> Pouring python@3.11--3.11.9.arm64_sonoma.bottle.tar.gz ==> /opt/homebrew/Cellar/python@3.11/3.11.9/bin/python3.11 -Im ensurepip ==> /opt/homebrew/Cellar/python@3.11/3.11.9/bin/python3.11 -Im pip install -v -- ๐Ÿบ /opt/homebrew/Cellar/python@3.11/3.11.9: 3,328 files, 62.4MB ==> Installing osrf/simulation/gazebo11 dependency: ruby ==> Downloading https://ghcr.io/v2/homebrew/core/ruby/manifests/3.3.1 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/844452a66e10bb7cb2dcc8942491cf29cf39ee3e4f47e379bd22f1ff461e30e4--ruby-3.3.1.bottle_manifest.json ==> Pouring ruby--3.3.1.arm64_sonoma.bottle.tar.gz ๐Ÿบ /opt/homebrew/Cellar/ruby/3.3.1: 19,715 files, 51.4MB ==> Installing osrf/simulation/gazebo11 dependency: osrf/simulation/ignitio ==> cmake .. -DCMAKE_INSTALL_RPATH=@loader_path/../lib ==> make install ๐Ÿบ /opt/homebrew/Cellar/ignition-math6/6.15.1: 153 files, 4.1MB, built in 32 seconds ==> Installing osrf/simulation/gazebo11 dependency: osrf/simulation/ignitio ==> cmake .. -DCMAKE_INSTALL_RPATH=@loader_path/../lib -DIGN_PROFILER_REMOTERY=O ==> make install ๐Ÿบ /opt/homebrew/Cellar/ignition-common3/3.17.0_4: 213 files, 2.6MB, built in 11 seconds ==> Installing osrf/simulation/gazebo11 dependency: osrf/simulation/ignitio ==> cmake .. ==> make install ๐Ÿบ /opt/homebrew/Cellar/ignition-tools/1.5.0_1: 14 files, 147.1KB, built in 1 second ==> Installing osrf/simulation/gazebo11 dependency: osrf/simulation/ignitio ==> Patching ==> Applying 0c0926c37042ac8f5aeb49ac36101acd3e084c6b.patch patching file CMakeLists.txt ==> cmake .. -DBUILD_TESTING=Off -DCMAKE_INSTALL_RPATH=@loader_path/../lib ==> make install ๐Ÿบ /opt/homebrew/Cellar/ignition-msgs5/5.11.0_26: 740 files, 13.4MB, built in 31 seconds ==> Installing osrf/simulation/gazebo11 dependency: osrf/simulation/ignitio ==> cmake .. -DBUILD_TESTING=Off -DCMAKE_INSTALL_RPATH=@loader_path/../lib ==> make install ๐Ÿบ /opt/homebrew/Cellar/ignition-fuel-tools4/4.9.1_12: 64 files, 960.3KB, built in 6 seconds ==> Installing osrf/simulation/gazebo11 dependency: osrf/simulation/ignitio ==> cmake .. -DBUILD_TESTING=Off -DCMAKE_INSTALL_RPATH=@loader_path/../lib ==> make install ๐Ÿบ /opt/homebrew/Cellar/ignition-transport8/8.5.0_10: 111 files, 2MB, built in 8 seconds ==> Installing osrf/simulation/gazebo11 dependency: libtar ==> Downloading https://ghcr.io/v2/homebrew/core/libtar/manifests/1.2.20-2 Already downloaded: /Users/diysumit/Library/Caches/Homebrew/downloads/23b46358622748699c1fe273ecb72904ce38c0eff55d7d60d4d0a23726dd7640--libtar-1.2.20-2.bottle_manifest.json ==> Pouring libtar--1.2.20.arm64_sonoma.bottle.2.tar.gz ๐Ÿบ /opt/homebrew/Cellar/libtar/1.2.20: 84 files, 264.9KB ==> Installing osrf/simulation/gazebo11 dependency: osrf/simulation/ogre1.9 ==> Patching ==> Applying fix-1.9-HEAD.diff patching file 'CMake/Utils/OgreConfigTargets.cmake' patching file CMakeLists.txt patching file 'OgreMain/CMakeLists.txt' ==> Applying ogre1.9.patch patching file 'RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm' ==> Applying ogre-1.9-ois.patch patching file CMakeLists.txt ==> Applying ogre-1.9-agl.patch patching file 'CMake/Dependencies.cmake' patching file 'RenderSystems/GL/CMakeLists.txt' ==> Applying ogre-1.9-cocoa_window_scale.patch patching file 'RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm' ==> Applying ogre-1.9-cxx_flags.patch patching file CMakeLists.txt ==> Applying ogre-1.9-findogre.patch patching file 'CMake/Packages/FindOGRE.cmake' ==> Applying cade48b4c2215dd77ea74b7aa219a22c2a5d6654.patch patching file CMakeLists.txt ==> Applying 2371c8d001725190a9cda62dc5df282cde78f951.patch patching file CMakeLists.txt ==> Applying 8fcfe0885e6bd98d971250d4a3fb9a23e3743dfd.patch patching file 'CMake/Packages/FindZZip.cmake' ==> Applying c39b6df49618773357da0b54437f351b57168d12.patch patching file 'OgreMain/src/OgreOptimisedUtil.cpp' patching file 'OgreMain/src/OgreOptimisedUtilSSE.cpp' patching file 'OgreMain/src/OgrePlatformInformation.cpp' patching file 'OgreMain/src/OgreSIMDHelper.h' ==> cmake -DCMAKE_OSX_ARCHITECTURES='x86_64' -DOGRE_BUILD_LIBS_AS_FRAMEWORKS=OFF ==> make install Last 15 lines from /Users/diysumit/Library/Logs/Homebrew/ogre1.9/02.make: make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimationTrack.cpp.o] Error 1 make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreBillboard.cpp.o] Error 1 make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimationState.cpp.o] Error 1 20 errors generated. 20 errors generated. 20 errors generated. make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAtomicScalar.cpp.o] Error 1 make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAlignedAllocator.cpp.o] Error 1 20 errors generated. make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimable.cpp.o] Error 1 make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimation.cpp.o] Error 1 20 errors generated. make[2]: [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAutoParamDataSource.cpp.o] Error 1 make[1]: [OgreMain/CMakeFiles/OgreMain.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

`

marvinosswald commented 4 months ago

Verbose output of this error:

Verbose Output

```bash In file included from /opt/homebrew/include/boost/system/system_error.hpp:50: error: expected function body after function declarator :35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:48:: 9In file included from inline error_category const & generic_category() noexcept BOOST_SYMBOL_VISIBLE;/opt/homebrew/include/boost/thread/recursive_mutex.hpp:/opt/homebrew/include/boost/system/detail/error_category.hpp: :106:40: 16error: : expected ';' at end of declaration list ^ In file included from /opt/homebrew/include/boost/system/errc.hpp:14: In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:15: In file included from /opt/homebrew/include/boost/system/detail/error_condition.hpp:14In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp:11: In file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp/opt/homebrew/include/boost/system/detail/generic_category.hpp: /opt/homebrew/include/boost/system/detail/generic_category.hpp::38:52: error: expected ';' at end of declaration list virtual bool failed( int ev ) const noexcept ^ In file included from BOOST_SYSTEM_CONSTEXPR generic_error_category() noexcept: ^ 100:50: error: expected function body after function declarator inline error_category const & generic_category() noexcept ^ /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAtomicScalar.cpp:/opt/homebrew/include/boost/system/detail/generic_category.hpp29:: 49:In file included from 73/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:: 44error: : expected ';' at end of declaration listIn file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h:37: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:32: In file included from char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE;/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h : ^36 : In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:48: In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp:11: In file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from /opt/homebrew/include/boost/system/errc.hpp:14: In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:15: In file included from /opt/homebrew/include/boost/system/detail/error_condition.hpp:14: In file included from /opt/homebrew/include/boost/system/detail/generic_category.hpp:14: /opt/homebrew/include/boost/system/detail/generic_category_message.hpp:71:94: error: expected function body after function declarator /opt/homebrew/include/boost/system/detail/generic_category.hpp:58:101: error: expected function body after function declarator inline char const * generic_error_category_message( int ev, char * buffer, std::size_t len ) noexcept ^ inline char const * generic_error_category::message( int ev, char * buffer, std::size_t len ) const noexcept ^ In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAlignedAllocator.cpp:28: In file included from /opt/homebrew/include/boost/system/detail/generic_category.hpp/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h::9744:: 50In file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h :error: 35expected function body after function declarator: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h:37: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:32: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h:36: In file included from inline error_category const & generic_category() noexcept BOOST_SYMBOL_VISIBLE; ^ :9: In file included from /opt/homebrew/include/boost/system/detail/generic_category.hpp/opt/homebrew/include/boost/system/errc.hpp::10014:: 50In file included from :/opt/homebrew/include/boost/system/detail/error_code.hpp :error: 15expected function body after function declarator: /opt/homebrew/include/boost/system/detail/error_condition.hpp:53:42: error: expected ';' at end of declaration list inline error_category const & generic_category() noexcept ^ In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAnimation.cpp:28: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:44: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h:37: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:32: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h:36: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:In file included from 34/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAtomicScalar.cpp: :In file included from 29/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h: :In file included from 48/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h: :In file included from 44/opt/homebrew/include/boost/thread/recursive_mutex.hpp: :In file included from 16/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h: :In file included from 35/opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp: :In file included from 11/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h: :In file included from 37/opt/homebrew/include/boost/thread/exceptions.hpp: :In file included from 22/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h: :In file included from 32/opt/homebrew/include/boost/system/system_error.hpp: :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:339: : In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.hIn file included from :In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h/opt/homebrew/include/boost/system/errc.hpp:1434: : In file included from In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:/opt/homebrew/include/boost/system/detail/error_code.hpp::1536: : In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from boost::ulong_long_type cat_id() const noexcept/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:35: In file included from /opt/homebrew/include/boost/system/detail/error_condition.hpp:53:42: error: 35In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAnimationState.cpp: :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h28: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:44: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h: expected ';' at end of declaration list ^ :In file included from 34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:48: In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp35/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:34 boost::ulong_long_type cat_id() const noexcept: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h ^ :: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:48: :16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp:11: In file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from /opt/homebrew/include/boost/system/errc.hpp:14: In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:15: In file included from /opt/homebrew/include/boost/system/detail/error_condition.hpp:14: /opt/homebrew/include/boost/system/detail/generic_category.hpp:38:52: error: expected ';' at end of declaration list In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp:11: In file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from /opt/homebrew/include/boost/system/errc.hpp:14: In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:15: /opt/homebrew/include/boost/system/detail/error_condition.hpp:53:42: error: expected ';' at end of declaration list boost::ulong_long_type cat_id() const noexcept ^ 37: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:32: In file included from BOOST_SYSTEM_CONSTEXPR generic_error_category() noexcept: ^ In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreArchive.cpp/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h::2936: In file included from In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreArchiveManager.cpp:/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h28: :In file included from 44/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:44: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h:37: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:32: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h:36: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:48: : In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp:11: In file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from /opt/homebrew/include/boost/system/errc.hpp:14: In file included from In file included from : /opt/homebrew/include/boost/system/detail/error_code.hppIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h15In file included from /opt/homebrew/include/boost/system/detail/generic_category.hppIn file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAlignedAllocator.cppIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h::3335: : In file included from 28/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h: :In file included from 34/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h: :In file included from 44/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h: ::3549: :In file included from 73In file included from In file included from In file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAnimationTrack.cpp/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h::/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAnimable.cpp/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h2835: : In file included from In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h::3437/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h: :In file included from 44/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h: :In file included from 32/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h: :In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAnimation.cpp/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h:: 35:: 36In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.hIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h37:: 33In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.hIn file included from :28error: 37expected ';' at end of declaration list/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h : : 28In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.hIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h32:: 44In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.hIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h36:: : char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE;: :44In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.hIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h48In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h::3435: : In file included from 34/opt/homebrew/include/boost/system/detail/error_condition.hpp32:: 53In file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h42:/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h ^In file included from :: In file included from error: In file included from expected ';' at end of declaration list/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h :3635/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h: :In file included from 35/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h: :In file included from 37/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h: :In file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h: 34/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:: :3537: : In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h boost::ulong_long_type cat_id() const noexcept:34 In file included from ^: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h32:48: : In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.hIn file included from :34/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h: :In file included from 32/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h: :In file included from 35/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h: :In file included from 36 In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h/opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h: :36In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.hIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h33:: 33In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.hIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h34:: 34In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.hIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h35:: 35In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.hIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h34:: 34In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.hIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h48:: 48In file included from : /opt/homebrew/include/boost/thread/recursive_mutex.hppIn file included from :/opt/homebrew/include/boost/thread/recursive_mutex.hpp16:: 16In file included from : /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hppIn file included from :/opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp11:: 11In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp/opt/homebrew/include/boost/thread/exceptions.hpp:16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp/opt/homebrew/include/boost/system/detail/generic_category.hpp:11:: 58In file included from ::: 22In file included from : 101: :/opt/homebrew/include/boost/thread/exceptions.hpperror: : :In file included from 22/opt/homebrew/include/boost/system/system_error.hpp: :In file included from 9/opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp: :In file included from 11/opt/homebrew/include/boost/system/errc.hpp: :In file included from expected function body after function declarator/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h14In file included from : In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:In file included from /opt/homebrew/include/boost/thread/exceptions.hpp34:/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreArchiveManager.cpp 22:: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from :/opt/homebrew/include/boost/system/errc.hpp28:: 14In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.hIn file included from inline char const * generic_error_category::message( int ev, char * buffer, std::size_t len ) const noexcept/opt/homebrew/include/boost/system/detail/error_code.hpp : ^15 : /opt/homebrew/include/boost/thread/exceptions.hppIn file included from :22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: :In file included from /opt/homebrew/include/boost/system/errc.hpp44:: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h:16/opt/homebrew/include/boost/system/detail/error_condition.hppIn file included from :3514: : In file included from In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h/opt/homebrew/include/boost/system/detail/generic_category.hpp/opt/homebrew/include/boost/system/detail/generic_category.hpp::1497: :/opt/homebrew/include/boost/system/detail/generic_category_message.hpp50::71 :error: 94expected function body after function declarator: 48:/opt/homebrew/include/boost/system/system_error.hpp37:: 9: : /opt/homebrew/include/boost/system/detail/system_category.hppIn file included from :error: 37expected function body after function declarator:14inline error_category const & generic_category() noexcept BOOST_SYMBOL_VISIBLE;: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h/opt/homebrew/include/boost/system/detail/error_code.hpp::4815: : In file included from /opt/homebrew/include/boost/system/detail/error_condition.hpp/opt/homebrew/include/boost/thread/recursive_mutex.hpp::53 ^:51: 16 : In file included from 42/opt/homebrew/include/boost/thread/pthread/recursive_mutex.hppIn file included from :/opt/homebrew/include/boost/system/detail/generic_category.hpp error: expected ';' at end of declaration list : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h BOOST_SYSTEM_CONSTEXPR system_error_category() noexcept::1132: In file included from : :In file included from /opt/homebrew/include/boost/system/errc.hpperror: In file included from expected ';' at end of declaration list /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h ^: 36:: inline char const * generic_error_category_message( int ev, char * buffer, std::size_t len ) noexcept ^ : /opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from 10014:: 50In file included from In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:/opt/homebrew/include/boost/thread/exceptions.hpp16: /opt/homebrew/include/boost/system/detail/system_category.hpp:/opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp: :11:In file included from 37: boost::ulong_long_type cat_id() const noexceptIn file included from /opt/homebrew/include/boost/thread/exceptions.hpp : ^22 : In file included from /opt/homebrew/include/boost/system/system_error.hpp:/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h9:: 33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.herror: expected function body after function declarator :In file included from /opt/homebrew/include/boost/system/errc.hpp22: :35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h::In file included from /opt/homebrew/include/boost/system/detail/system_category.hpp/opt/homebrew/include/boost/system/system_error.hpp:::9: 51In file included from :/opt/homebrew/include/boost/system/errc.hpp :error: 34expected ';' at end of declaration list 50:73: error: expected ';' at end of declaration list inline error_category const & generic_category() noexcept char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE; 14In file included from ^ : In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h14 ^ /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAnimable.cpp:28: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:44: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h:35: : In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h:In file included from 37: /opt/homebrew/include/boost/system/detail/error_code.hppIn file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:32: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h:36: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h: :In file included from 34/opt/homebrew/include/boost/system/detail/error_code.hpp: :In file included from 15/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h: ::/opt/homebrew/include/boost/system/detail/error_condition.hpp:4853: In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp35:: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:48: In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp: BOOST_SYSTEM_CONSTEXPR system_error_category() noexcept::4216:: /opt/homebrew/include/boost/system/detail/system_category.hpperror: :expected ';' at end of declaration list37 :51:In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAnimationState.cpperror: 16 ^: 11 boost::ulong_long_type cat_id() const noexcept ^: 28: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:44: In file included from : In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h/opt/homebrew/include/boost/system/detail/system_category.hppIn file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAtomicScalar.cpp::29: :/opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp35In file included from /opt/homebrew/include/boost/system/detail/system_category.hppIn file included from 86/opt/homebrew/include/boost/system/system_error.hpp::949:/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreArchive.cpp/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:44: expected ';' at end of declaration listIn file included from :/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h: : 29 : In file included from error: /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.hexpected function body after function declarator: 4411::5035:: 73In file included from : :In file included from BOOST_SYSTEM_CONSTEXPR system_error_category() noexcept: /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h:37: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h32: error: :In file included from 35/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h: :In file included from 36/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h: In file included from : : In file included from In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h : ^33 : inline error_category const & system_category() noexcept BOOST_SYMBOL_VISIBLE;/opt/homebrew/include/boost/thread/exceptions.hpp:expected ';' at end of declaration list37In file included from : In file included from In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h::22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from /opt/homebrew/include/boost/system/errc.hpp:/opt/homebrew/include/boost/system/errc.hpp14: /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h ^32:14: In file included from In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp/opt/homebrew/include/boost/system/detail/error_code.hpp::1516: /opt/homebrew/include/boost/system/detail/system_category.hppIn file included from :/opt/homebrew/include/boost/system/detail/error_condition.hpp50::/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h: 1473: :/opt/homebrew/include/boost/system/detail/generic_category.hpp :error: 38expected ';' at end of declaration list: ::3452: :In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:error: 35expected ';' at end of declaration list37 : /opt/homebrew/include/boost/system/detail/system_category.hpp/opt/homebrew/include/boost/system/detail/system_category.hpp: :In file included from 37/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h::5134:: In file included from error: : BOOST_SYSTEM_CONSTEXPR generic_error_category() noexcept:: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h::4836: expected ';' at end of declaration list : In file included from In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33 BOOST_SYSTEM_CONSTEXPR system_error_category() noexcept:In file included from ^/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h :32: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h: 36 : In file included from ^/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h :33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h:: char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE;8934: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:34/opt/homebrew/include/boost/thread/recursive_mutex.hpp char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE;:16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp :11: :In file included from 49: :/opt/homebrew/include/boost/thread/exceptions.hppIn file included from ^ error: expected function body after function declarator/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h/opt/homebrew/include/boost/system/detail/system_category.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from /opt/homebrew/include/boost/system/errc.hpp:14In file included from : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.hIn file included from :/opt/homebrew/include/boost/system/detail/error_code.hpp34:: :In file included from 48/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h : ^35/opt/homebrew/include/boost/system/detail/generic_category.hpp15:: : /opt/homebrew/include/boost/system/detail/error_condition.hppIn file included from :/opt/homebrew/include/boost/thread/recursive_mutex.hpp53::1642: :/opt/homebrew/include/boost/system/detail/system_category.hpp error: expected ';' at end of declaration list In file included from inline error_category const & system_category() noexcept/opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp :11: boost::ulong_long_type cat_id() const noexceptIn file included from /opt/homebrew/include/boost/thread/exceptions.hpp::2250: :In file included from : ^49 :73: : /opt/homebrew/include/boost/system/system_error.hppIn file included from 73:: 9error: : /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.hIn file included from :/opt/homebrew/include/boost/system/errc.hpp: ^14 : In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:1686:49/opt/homebrew/include/boost/system/detail/system_category.hpp: :86:/opt/homebrew/include/boost/system/detail/system_category.hpp::37:error: 51expected ';' at end of declaration list: error: 49:expected ';' at end of declaration list char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE; ^ 34 : In file included from error: /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:expected function body after function declarator48 : In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from error: /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp BOOST_SYSTEM_CONSTEXPR system_error_category() noexcept:: 11expected ';' at end of declaration list: In file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9inline error_category const & system_category() noexcept BOOST_SYMBOL_VISIBLE; char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE;/opt/homebrew/include/boost/system/detail/generic_category.hpp : ^58 :101: : In file included from ^/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAtomicScalar.cpp In file included from /opt/homebrew/include/boost/system/errc.hpp ^: 14: In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:16expected function body after function declarator: /opt/homebrew/include/boost/system/detail/system_category.hpp:/opt/homebrew/include/boost/system/detail/system_category.hpp/opt/homebrew/include/boost/system/detail/system_category.hpp:86::4989:: 49error: :expected function body after function declarator29error: : fatal error: error: expected function body after function declarator inline error_category const & system_category() noexcept BOOST_SYMBOL_VISIBLE;expected function body after function declarator ^: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:44: inline error_category const & system_category() noexceptIn file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h ^: 35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h:37: In file included from inline error_category const & system_category() noexcept BOOST_SYMBOL_VISIBLE;too many errors emitted, stopping now [-ferror-limit=] 37/opt/homebrew/include/boost/system/detail/system_category.hpp::5189:: 49inline char const * generic_error_category::message( int ev, char * buffer, std::size_t len ) const noexcept/opt/homebrew/include/boost/system/detail/system_category.hpp: 50/tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h ^:32 : ^In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h:36: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.herror: /opt/homebrew/include/boost/system/detail/system_category.hpp:89:49: error: expected function body after function declarator inline error_category const & system_category() noexcept : error: expected function body after function declarator ^inline error_category const & system_category() noexcept ^ :73: error: expected ';' at end of declaration list char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE; ^ /opt/homebrew/include/boost/system/detail/generic_category.hpp:97::5034expected ';' at end of declaration list: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:34: In file included from : error: expected function body after function declarator BOOST_SYSTEM_CONSTEXPR system_error_category() noexcept: ^ inline error_category const & generic_category() noexcept BOOST_SYMBOL_VISIBLE; ^ /opt/homebrew/include/boost/system/detail/generic_category.hpp:/opt/homebrew/include/boost/system/detail/system_category.hpp100:86::49: error: expected function body after function declarator inline error_category const & system_category() noexcept BOOST_SYMBOL_VISIBLE; ^ /opt/homebrew/include/boost/system/detail/system_category.hpp:89:49: error: expected function body after function declarator 50: error: inline error_category const & system_category() noexceptexpected function body after function declarator ^ inline error_category const & generic_category() noexcept ^ /opt/homebrew/include/boost/system/detail/system_category.hpp:50:73: error: expected ';' at end of declaration list fatal error: too many errors emitted, stopping now [-ferror-limit=] char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE; ^ /opt/homebrew/include/boost/system/detail/system_category.hpp:86:49: error: expected function body after function declarator inline error_category const & system_category() noexcept BOOST_SYMBOL_VISIBLE; ^ /opt/homebrew/include/boost/system/detail/system_category.hpp:89:49fatal error: :too many errors emitted, stopping now [-ferror-limit=] error: expected function body after function declarator inline error_category const & system_category() noexcept ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:48: In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp:11: In file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from /opt/homebrew/include/boost/system/errc.hpp:14: In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:16: /opt/homebrew/include/boost/system/detail/system_category.hpp:37:51: error: expected ';' at end of declaration list BOOST_SYSTEM_CONSTEXPR system_error_category() noexcept: ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] fatal error: too many errors emitted, stopping now [-ferror-limit=] /opt/homebrew/include/boost/system/detail/system_category.hpp:50:73: error: expected ';' at end of declaration list char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE; ^ /opt/homebrew/include/boost/system/detail/system_category.hpp:86:49: error: expected function body after function declarator inline error_category const & system_category() noexcept BOOST_SYMBOL_VISIBLE; ^ /opt/homebrew/include/boost/system/detail/system_category.hpp:89:49: error: expected function body after function declarator inline error_category const & system_category() noexcept ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAnimable.cpp:28: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:44: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h:37: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:32: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h:36: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:48: In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp:11: In file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from /opt/homebrew/include/boost/system/errc.hpp:14: In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:15: /opt/homebrew/include/boost/system/detail/error_condition.hpp:53:42: error: expected ';' at end of declaration list boost::ulong_long_type cat_id() const noexcept ^ In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/src/OgreAnimable.cpp:28: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStableHeaders.h:44: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreCamera.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMovableObject.h:37: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreShadowCaster.h:32: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreRenderable.h:36: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreMaterial.h:33: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreResource.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/OgreStringInterface.h:35: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeaders.h:34: In file included from /tmp/ogre1.9-20240505-71123-lksjit/sinbad-ogre-108ab0bcc696/OgreMain/include/Threading/OgreThreadHeadersBoost.h:48: In file included from /opt/homebrew/include/boost/thread/recursive_mutex.hpp:16: In file included from /opt/homebrew/include/boost/thread/pthread/recursive_mutex.hpp:11: In file included from /opt/homebrew/include/boost/thread/exceptions.hpp:22: In file included from /opt/homebrew/include/boost/system/system_error.hpp:9: In file included from /opt/homebrew/include/boost/system/errc.hpp:14: In file included from /opt/homebrew/include/boost/system/detail/error_code.hpp:16: /opt/homebrew/include/boost/system/detail/system_category.hpp:37:51: error: expected ';' at end of declaration list BOOST_SYSTEM_CONSTEXPR system_error_category() noexcept: ^ /opt/homebrew/include/boost/system/detail/system_category.hpp:50:73: error: expected ';' at end of declaration list char const * message( int ev, char * buffer, std::size_t len ) const noexcept BOOST_OVERRIDE; ^ /opt/homebrew/include/boost/system/detail/system_category.hpp:86:49: error: expected function body after function declarator inline error_category const & system_category() noexcept BOOST_SYMBOL_VISIBLE; ^ /opt/homebrew/include/boost/system/detail/system_category.hpp:89:49: error: expected function body after function declarator inline error_category const & system_category() noexcept ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 20 errors generated. 20 errors generated. 20 errors generated. 20 errors generated. 20 errors generated. 20 errors generated. 20 errors generated. make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAtomicScalar.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreArchive.cpp.o] Error 1 make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimationState.cpp.o] Error 1 make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimable.cpp.o] Error 1 make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAlignedAllocator.cpp.o] Error 1 make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreArchiveManager.cpp.o] Error 1 make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimationTrack.cpp.o] Error 1 make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimation.cpp.o] Error 1 make[1]: *** [OgreMain/CMakeFiles/OgreMain.dir/all] Error 2 make: *** [all] Error 2 ==> Formula Tap: osrf/simulation Path: /opt/homebrew/Library/Taps/osrf/homebrew-simulation/Formula/ogre1.9.rb ==> Configuration HOMEBREW_VERSION: 4.2.20 ORIGIN: https://github.com/Homebrew/brew HEAD: c2ed3327c605c3e738359c9807b8f4cd6fec09eb Last commit: 6 days ago Core tap JSON: 05 May 10:36 UTC Core cask tap JSON: 05 May 10:36 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.Juz1zjriA7/org.xquartz:0 HOMEBREW_MAKE_JOBS: 8 Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: octa-core 64-bit arm_firestorm_icestorm Clang: 15.0.0 build 1500 Git: 2.45.0 => /opt/homebrew/bin/git Curl: 8.4.0 => /usr/bin/curl macOS: 14.4.1-arm64 CLT: 15.3.0.0.1.1708646388 Xcode: N/A Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j8 CMAKE_PREFIX_PATH: /opt/homebrew/opt/icu4c:/opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /opt/homebrew/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/xz/lib/pkgconfig:/opt/homebrew/opt/lz4/lib/pkgconfig:/opt/homebrew/opt/zstd/lib/pkgconfig:/opt/homebrew/opt/libpng/lib/pkgconfig:/opt/homebrew/opt/freetype/lib/pkgconfig:/opt/homebrew/opt/libxau/lib/pkgconfig:/opt/homebrew/opt/libxdmcp/lib/pkgconfig:/opt/homebrew/opt/libxcb/lib/pkgconfig:/opt/homebrew/opt/libx11/lib/pkgconfig:/opt/homebrew/opt/libzzip/lib/pkgconfig:/opt/homebrew/opt/hwloc/lib/pkgconfig:/opt/homebrew/opt/tbb/lib/pkgconfig:/opt/homebrew/opt/xorgproto/share/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/14 HOMEBREW_GIT: git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk ACLOCAL_PATH: /opt/homebrew/share/aclocal PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/cmake/bin:/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/xz/bin:/opt/homebrew/opt/lz4/bin:/opt/homebrew/opt/zstd/bin:/opt/homebrew/opt/doxygen/bin:/opt/homebrew/opt/libpng/bin:/opt/homebrew/opt/freetype/bin:/opt/homebrew/opt/libzzip/bin:/opt/homebrew/opt/hwloc/bin:/usr/bin:/bin:/usr/sbin:/sbin Error: osrf/simulation/ogre1.9 1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9 did not build Logs: /Users/marvinosswald/Library/Logs/Homebrew/ogre1.9/00.options.out /Users/marvinosswald/Library/Logs/Homebrew/ogre1.9/01.cmake /Users/marvinosswald/Library/Logs/Homebrew/ogre1.9/01.cmake.cc /Users/marvinosswald/Library/Logs/Homebrew/ogre1.9/02.make /Users/marvinosswald/Library/Logs/Homebrew/ogre1.9/02.make.cc /Users/marvinosswald/Library/Logs/Homebrew/ogre1.9/build If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): ```

scpeters commented 4 months ago

this may actually be caused by boost 1.85.0: https://github.com/gazebosim/gazebo-classic/issues/3385

it's not always easy to see in the logs due to all the compiler warnings

I'm working on a patch in https://github.com/gazebosim/gazebo-classic/pull/3386

scpeters commented 4 months ago

a similar patch to https://github.com/gazebosim/gazebo-classic/pull/3386 may be needed for ogre1.9

scpeters commented 4 months ago

thank you @marvinosswald; I was able to reproduce the same failure to build ogre1.9. I will retitle this issue to refer to ogre1.9 and that it affects Intel CPU as well

scpeters commented 4 months ago

I believe the c++ standard version is not being set by cmake, so it is defaulting to c++20 for the current versions of Clang / Xcode. Since noexcept has been removed from c++20, the ogre1.9 code is failing to compile. I think setting the cxx standard in cmake could fix this

scpeters commented 4 months ago

I tried building with the following patch:

diff --git a/Formula/ogre1.9.rb b/Formula/ogre1.9.rb
index fabd3dc..8a1b437 100644
--- a/Formula/ogre1.9.rb
+++ b/Formula/ogre1.9.rb
@@ -97,6 +97,7 @@ class Ogre19 < Formula

   def install
     cmake_args = [
+      "-DCMAKE_CXX_STANDARD='11'",
       "-DCMAKE_OSX_ARCHITECTURES='x86_64'",
       "-DOGRE_BUILD_LIBS_AS_FRAMEWORKS=OFF",
       "-DOGRE_FULL_RPATH:BOOL=FALSE",

and it gets farther in the build but still fails with a compilation error:

RenderSystems/GL/src/OSX/OgreOSXWindow.cpp:326:21: error: assigning to 'CGError' from incompatible type 'CGLError' (aka '_CGLError')
            cgErr = CGLSetParameter(mCGLContextObj, kCGLCPSwapInterval, &swapInterval);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
marvinosswald commented 4 months ago

@scpeters thanks for looking into this ๐Ÿ‘

i can confirm your patch results in the same error on my mac m1

/tmp/ogre1.9-20240514-73090-tr2xz7/sinbad-ogre-108ab0bcc696/RenderSystems/GL/src/OSX/OgreOSXWindow.cpp:326:21: error: assigning to 'CGError' from incompatible type 'CGLError' (aka '_CGLError')
            cgErr = CGLSetParameter(mCGLContextObj, kCGLCPSwapInterval, &swapInterval);
marvinosswald commented 4 months ago

So i have some progress, i've patched OgreOSXWindow.cpp:

diff --git a/RenderSystems/GL/src/OSX/OgreOSXWindow.cpp b/RenderSystems/GL/src/OSX/OgreOSXWindow.cpp
index 44231ab5a..9412b01d7 100644
--- a/RenderSystems/GL/src/OSX/OgreOSXWindow.cpp
+++ b/RenderSystems/GL/src/OSX/OgreOSXWindow.cpp
@@ -323,7 +323,7 @@ namespace Ogre
             cgErr = CGLSetParameter(mCGLContextObj, kCGLCPSwapInterval, &swapInterval);
 #else
             GLint swapInterval = 1;
-            cgErr = CGLSetParameter(mCGLContextObj, kCGLCPSwapInterval, &swapInterval);
+            cgErr = (CGError)CGLSetParameter(mCGLContextObj, kCGLCPSwapInterval, &swapInterval);
 #endif
             CG_CHECK_ERROR(cgErr)

then added this patch to the ogre1.9 formular like this:

  patch do
    url "https://gist.githubusercontent.com/marvinosswald/0e981e918aeee4403e9a0790c6f32cdd/raw/5d295499255867064ace8c4c41b2f31fd48d4576/gistfile1.txt"
    sha256 "62d33adbb3d46f9354ba9486226ee88649d7d7af0e26354f69c5cc777dd2ef86"
  end

This allowed me to actually complete the install. And run gz sim -s

marvinosswald commented 4 months ago

using this getting started guide gazebo seems to have started: (not entirely sure about the empty ogre window but i'll take it)

Screenshot 2024-05-14 at 16 37 18
scpeters commented 4 months ago

nice work! I think I've seen that empty Ogre window before, not sure why it's there

I think this example world may be using ogre2 instead of ogre1.9. You could try running the dem_volcano.sdf world since it explicitly requests to use ogre

but I guess if ogre1.9 is the only package blocking things, we could remove it as a dependency from gz-rendering and gz-sim. I'll try your patch first though

marvinosswald commented 4 months ago

Good catch, indeed i've now tried the dem_volcano.sdf and while the server boots fine the gui doesn't.

Logs ``` [GUI] [Dbg] [MinimalScene.cc:749] Create scene [scene] [GUI] [Err] [BaseCamera.hh:840] RenderTextureMetalId is not supported by current render engine [GUI] [Dbg] [MinimalScene.cc:1052] Creating texture node render interface for Metal Stack trace (most recent call last) in thread 6348877824: #27 Object "QtCore", at 0x107b7dd73, in QObject::event(QEvent*) + 595 #26 Object "libMinimalScene.dylib", at 0x142734c07, in gz::gui::plugins::RenderThread::RenderNext(gz::gui::plugins::RenderSync*) + 35 #25 Object "libMinimalScene.dylib", at 0x142740d4f, in gz::gui::plugins::RenderThreadRhiMetal::RenderNext(gz::gui::plugins::RenderSync*) + 95 #24 Object "libMinimalScene.dylib", at 0x142731627, in gz::gui::plugins::GzRenderer::Render(gz::gui::plugins::RenderSync*, gz::gui::plugins::RenderThreadRhi&) + 227 #23 Object "libgz-rendering8-ogre.8.1.1.dylib", at 0x1680170e3, in gz::rendering::v8::BaseCamera::PreRender() + 283 #22 Object "libgz-rendering8-ogre.8.1.1.dylib", at 0x16808711b, in virtual thunk to gz::rendering::v8::BaseRenderTarget::PreRender(std::__1::shared_ptr const&) + 47 #21 Object "libgz-rendering8-ogre.8.1.1.dylib", at 0x168084e8f, in gz::rendering::v8::OgreRenderTarget::PreRender() + 59 #20 Object "libgz-rendering8-ogre.8.1.1.dylib", at 0x168086fa7, in gz::rendering::v8::BaseRenderTarget::Rebuild() + 35 #19 Object "libgz-rendering8-ogre.8.1.1.dylib", at 0x168085173, in virtual thunk to gz::rendering::v8::OgreRenderTarget::RebuildImpl() + 39 #18 Object "libgz-rendering8-ogre.8.1.1.dylib", at 0x168085ddf, in virtual thunk to gz::rendering::v8::OgreRenderTexture::RebuildTarget() + 43 #17 Object "libgz-rendering8-ogre.8.1.1.dylib", at 0x168085ee3, in gz::rendering::v8::OgreRenderTexture::DestroyTarget() + 235 #16 Object "libOgreMain.1.9.0.dylib", at 0x1683f3e4f, in Ogre::ResourceManager::remove(std::__1::basic_string, std::__1::allocator> const&) + 79 #15 Object "libOgreMain.1.9.0.dylib", at 0x1682f7347, in Ogre::SharedPtr::~SharedPtr() + 67 #14 Object "libOgreMain.1.9.0.dylib", at 0x168324bcb, in Ogre::SharedPtrInfoDelete::~SharedPtrInfoDelete() + 51 #13 Object "RenderSystem_GL.1.9.0.dylib", at 0x168f0ad3b, in Ogre::GLTexture::~GLTexture() + 11 #12 Object "RenderSystem_GL.1.9.0.dylib", at 0x168f0acf7, in Ogre::GLTexture::~GLTexture() + 63 #11 Object "libOgreMain.1.9.0.dylib", at 0x168477867, in Ogre::Texture::freeInternalResources() + 35 #10 Object "RenderSystem_GL.1.9.0.dylib", at 0x168f0c4c7, in Ogre::GLTexture::freeInternalResourcesImpl() + 39 #9 Object "RenderSystem_GL.1.9.0.dylib", at 0x168f0c8d7, in Ogre::SharedPtr::~SharedPtr() + 67 #8 Object "libOgreMain.1.9.0.dylib", at 0x1683385f3, in Ogre::SharedPtrInfoDelete::~SharedPtrInfoDelete() + 51 #7 Object "RenderSystem_GL.1.9.0.dylib", at 0x168efb64b, in Ogre::GLTextureBuffer::~GLTextureBuffer() + 11 #6 Object "RenderSystem_GL.1.9.0.dylib", at 0x168efb62f, in Ogre::GLTextureBuffer::~GLTextureBuffer() + 151 #5 Object "RenderSystem_GL.1.9.0.dylib", at 0x168ef643b, in Ogre::GLFBORenderTexture::~GLFBORenderTexture() + 35 #4 Object "RenderSystem_GL.1.9.0.dylib", at 0x168ef69b3, in Ogre::GLFrameBufferObject::~GLFrameBufferObject() + 75 #3 Object "libsystem_platform.dylib", at 0x18eeaf583, in _sigtramp + 55 #2 Object "libgz-tools2-backward.2.0.1.dylib", at 0x10249ae9b, in backward::SignalHandling::sig_handler(int, __siginfo*, void*) + 19 #1 Object "libgz-tools2-backward.2.0.1.dylib", at 0x10249aeff, in backward::SignalHandling::handleSignal(int, __siginfo*, void*) + 71 #0 Object "libgz-tools2-backward.2.0.1.dylib", at 0x10249b03f, in backward::StackTraceImpl::load_from(void*, unsigned long, void*, void*) + 43 [1] 24282 segmentation fault gz sim -v 4 -g ```
scpeters commented 4 months ago

thanks for the patch! I tested it with gazebo11 and it seems to still work, so I'm adding it to the formula in #2653. I believe there are other issues with using ogre1.9 on macOS; I think only ogre2 is supported? I should check with @iche033 what the current status is. If we don't support ogre1.9 with gz-sim, we should remove that dependency on macOS.

skol101 commented 3 months ago

Still not working on m1 as per https://github.com/osrf/homebrew-simulation/issues/1628#issuecomment-2167803844 But this works : curl -ssL http://get.gazebosim.org | sh