Skip to content

Add Realsense-adjacent library support to macOS - #416

Merged
Tobias-Fischer merged 1 commit into
RoboStack:mainfrom
BruceMcRooster:add-macos-realsense-support
Aug 8, 2026
Merged

Add Realsense-adjacent library support to macOS#416
Tobias-Fischer merged 1 commit into
RoboStack:mainfrom
BruceMcRooster:add-macos-realsense-support

Conversation

@BruceMcRooster

@BruceMcRooster BruceMcRooster commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

While working on a project that used an Intel Realsense camera, I realized that although librealsense2 support was added for macOS a while back, the supporting libraries for using the Realsense camera in ROS (realsense2-description and realsense2-camera) were not supported on macOS due to a build error someone had come up against while trying to support them.

I got everything building and have been working with the dependencies for a while (realsense2-description in particular has been very useful for having a premade URDF). I rewound RoboStack to the version where the Python 3.11-compatible version of librealsense2 was made (my branch is here), because I needed that for my work. I also made a prefix.dev channel where I've been hosting these for myself (since local packages aren't totally supported yet due to this issue); I can't promise anything about this staying up, but I have no reason to take it down currently.

The change was a fairly simple patch due to some invalid flags that got passed to the macOS linker and some issues finding threading support in CMake. Figured I should contribute, if only to be a resource if someone else comes trying to solve the issue even if this doesn't get merged.

I did edit the vinca file to indicate full macOS support, although I only had an ARM Mac available to test building on. I don't think there should be any reasons for incompatibility here, but I'm open to limiting the scope to just ARM Macs if nobody can test the build on an Intel one.

As a final note, it would be really nice if this somehow could get backported to the Python 3.11-compatible version (the same patch works there, again see this). I don't know what the RoboStack policy is on deploying old versions of things to do this, but just something that would be greatly appreciated if possible.

had to fix some flags being invalid when passed to the macOS linker
@Tobias-Fischer
Tobias-Fischer merged commit b4002ac into RoboStack:main Aug 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants