-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
How to build and use rs-sensor-control.cpp? #12675
Comments
Hi @IAMHAADICOOL Example programs in the RealSense SDK are built in a different way to scripts created by RealSense users. The examples are first built as a set of programs during installation of the librealsense SDK by including the flag -DBUILD_EXAMPLES=TRUE in the CMake build instruction, followed by the make instruction. If one of the example programs is modified and the 'make' instruction input again, only the examples that have been modified are built and not the entire set of examples. More information about this can be found at #2946 and #6797 It is possible to copy the code from an SDK example such as rs-sensor-control into your own project but you typically end up with missing details in the CMakeLists.txt file that prevent the librealsense libraries from being found. #10715 (comment) has advice about creating a CMakeLists.txt file with the necessary linkages. |
Thanks for help @MartyG-RealSense 😄 |
Hi @IAMHAADICOOL Do you require further assistance with this case, please? Thanks! |
No, no, that should be it. You may close this issue 😄 |
Thanks very much for the update. As you suggested, I will close the issue. Thanks again! |
Can anyone please explain how to build and use the methods defined in rs-sensor-control.cpp?
The text was updated successfully, but these errors were encountered: