Closed jiapei100 closed 2 months ago
Hi @jiapei100 When building the librealsense SDK from source code with CMake, there is a configuration flag called BUILD_WITH_DDS that requires CMake 3.16.3 and is set to Off by default.
https://github.com/IntelRealSense/librealsense/blob/master/CMake/lrs_options.cmake#L49
The main CMakeLists.txt file of librealsense has a provision that if the BUILD_WITH_DDS flag is set to On then the CMake file external_fastdds.cmake is included in the build,
https://github.com/IntelRealSense/librealsense/blob/master/CMakeLists.txt#L62-L75
This places the FastDDS project in the 3rd Party/fastdds folder.
The main CMakeLists.txt file states that FastDDS is only supported on Windows and Linux and not on ${CMAKE_SYSTEM}
which is why it is set to Off by default.
When building librealsense with CMake, the configuration flags have -D placed on the front of them, so using the instruction below in the CMake build instruction should enable it.
-DBUILD_WITH_DDS=ON
In regard to your other question, can you provide information about the difference between local and system packages, please?
Hi @jiapei100 Do you require further assistance with this case, please? Thanks!
@MartyG-RealSense
Thank you Marty. I'm closing it. I'll build librealsense without Fast-DDS
. Thank you ...
You are very welcome. I'm pleased that I could help. Thanks very much for the update!
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
<Describe your issue / question / feature request / etc..>
1) Can we replace all packages under third-party from local to system? 2) For third-party realdds, https://github.com/canonical/Fast-RTPS is ALREADY outdated and replaced by https://github.com/eProsima/Fast-DDS ... Can anybody help to update it?