Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to build RealSense SDK without realsense-file? #13796

Open
RobbertProost opened this issue Feb 27, 2025 · 1 comment
Open

Option to build RealSense SDK without realsense-file? #13796

RobbertProost opened this issue Feb 27, 2025 · 1 comment

Comments

@RobbertProost
Copy link

I am currently using a statically build version of the realsense SDK and are encountering an issue with duplicate LZ4 symbols. If I understand correctly the realsense SDK contains the LZ4 library as part of the realsense-file target.
For my use case I don't need the realsense-file functionallity.

So I was wondering, can I build the realsense SDK without realsense-file?

@MartyG-RealSense
Copy link
Collaborator

Hi @RobbertProost You could try building the SDK with CMake with symbols stripped out of the build using instructions at #7982 (comment) to see whether removing the symbols resolves your issue.

Alternatively, you could try editing the config-cmake file for realsense-file in the SDK source code's third-party folder and then build the SDK from that modified source code.

https://github.com/IntelRealSense/librealsense/blob/master/third-party/realsense-file/config.cmake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants