Items with no label
3338 Discussions

Xcode + openFrameworks + RealSense SDK 2.0

PDeva2
Beginner
3,541 Views

Hi,

I have some troubles adding RealSense SDK 2.0 to my openFrameworks/Xcode project.

Could anyone provide step-by-step instruction how to use SDK 2.0 with Xcode and openFrameworks, please?

I think it would be very helpful for the community.

Thank you!

0 Kudos
5 Replies
MartyG
Honored Contributor III
2,021 Views

This documentation page explains how to build SDK 2.0 with XCode:

https://github.com/IntelRealSense/librealsense/blob/8e7db477a69741ca413a6b4d6402d19c8aace00e/doc/installation_osx.md librealsense/installation_osx.md at 8e7db477a69741ca413a6b4d6402d19c8aace00e · IntelRealSense/librealsense · GitHub

I was not able to locate support for OpenFrameworks on SDK 2.0 yet, unfortunately.

0 Kudos
PDeva2
Beginner
2,021 Views

Yes, it works and I can build the project and run the examples.

The question is how to use SDK in my own Xcode projects. It is probably a question more about Xcode than RealSense SDK, i.e. how to link libraries etc.

I'll try to do it again and if everything works I will post the instructions here

0 Kudos
MartyG
Honored Contributor III
2,021 Views

Thanks Petr.D - look forward to hearing how you did.

0 Kudos
PDeva2
Beginner
2,021 Views

Apparently, it was quite easy. I'll upload the instructions and code snippets here later https://github.com/petr-devaikin/ofxRealSense2 GitHub - petr-devaikin/ofxRealSense2: Intel RealSense SDK 2.0 addon for openFrameworks

My plan is to make an oF addon, but let's see how far it will go

0 Kudos
MartyG
Honored Contributor III
2,021 Views

Awesome news! I'm sure it would be a welcome contribution to the open-source SDK once you have your add-on working. Good luck!

0 Kudos
Reply