build example of SDK librealsense-2.50.0 separately
I downloaded the librealsense-2.50.0 sdk, (ubuntu environment). I run the cmake inside of librealsense-2.50.0, it creates the build folder with all binary files that i can run.
However, i could not run the cmake in a specific example folder. it can be seen as missing of library/packages here. Unfortunately, it is needed since i want to integrate an example into my main code.
so how can build a specific example in the sdk without building again whole thing?
-
Hi Nati Farkash
The RealSense SDK example programs have a build procedure that is different from the build method used when creating your own script. All of the examples are built by the SDK installation process, and then if you modify an example and perform 'make' again, only the programs that were modified are built again. A RealSense user shared a guide about this at the link below.
https://github.com/IntelRealSense/librealsense/issues/6797
If you are creating your own script with CMake based on an example program then the link below provides advice about instructions for enabling your script to find missing linkages.
https://github.com/IntelRealSense/librealsense/issues/4277#issuecomment-505242118
There is also an Ubuntu-specific reference here:
Please sign in to leave a comment.
Comments
1 comment