Skip to content

Add support for macOS #3828

@srmainwaring

Description

@srmainwaring

Feature request

Feature description

Support macOS (intel and arm64), libraries compile on macOS using clang and run natively.

Implementation considerations

There a number of fairly minor changes required to support macOS 13.4, Xcode 14.3.1.

This branch contains general changes for clang broken out by sub-library to make it easier to cherry-pick changes into a PR.

This branch contains a couple of additional changes specific to macOS on arm64, they're not suitable for merging as compilation options have just been disabled if they don't work on macOS.

Both branches target humble as this is the version of ROS 2 I have a native build for on macOS. Can re-target main for a PR if this feature request is accepted.

Figure: rviz running nav2 / humble on macOS, testing off-board control using XRCE-DDS in ArduPilot.
nav2-copter-rviz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions