Ryan Johnston

Results 118 comments of Ryan Johnston

Same issue. As mentioned above, uninstalled non @5 qt and pyqt resolves.

~Ya - removing the non @ qt is messing with me building normal firmware...~ That was old toolchain persisting...

continued: ``` ^ In file included from /Users/ryanjohnston/src/PX4NOVMASTER/PX4-Autopilot/build/px4_sitl_default/build_gazebo-classic/Odometry.pb.cc:4: In file included from /Users/ryanjohnston/src/PX4NOVMASTER/PX4-Autopilot/build/px4_sitl_default/build_gazebo-classic/Odometry.pb.h:8: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/limits:827: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/type_traits:538: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/cstdint:149:5: error: tried including but didn't find...

Then pointing to the version 12 sdk: ``` ryanjohnston@Ryans-MacBook-Pro PX4-Autopilot %HEADLESS=1 make px4_sitl gazebo-classic_plane_lidar [0/954] git submodule src/drivers/gps/devices [8/954] git submodule src/modules/mavlink/mavlink [11/954] git submodule Tools/simulation/gazebo-classic/sitl_gazebo-classic [12/954] git submodule src/modules/uxrce_dds_client/Micro-XRCE-DDS-Client...

``` ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/cstddef:59:9: error: no member named 'nullptr_t' in the global namespace using ::nullptr_t; ~~^ In file included from /Users/ryanjohnston/src/PX4NOVMASTER/PX4-Autopilot/build/px4_sitl_default/build_gazebo-classic/Odometry.pb.cc:4: In file included from /Users/ryanjohnston/src/PX4NOVMASTER/PX4-Autopilot/build/px4_sitl_default/build_gazebo-classic/Odometry.pb.h:8: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/limits:827:...

Some progress... First, when changing xcode-select to command line tools, the headers are found. So thats good. (sudo xcode-select -s /Library/Developer/CommandLineTools) I also backed up the MacOS14.0.sdk into a .bak...

Part of me thinks the solution to macOS builds is some specific sdk versioning per px4 release tag (because you can run any version of macOS sdk you want easily...

The install script just installs dependencies but what it needs to do is install them in a virtual environment to not fight with local toolchain variables and a one line...

Ya. What he said ⬆️⬆️⬆️ basically it’s a convoluted mess.