-
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 upgrade RealSense SDK 2.0 (which was installed using "building-from-source" method)? #7427
Comments
Hi @milan-r-shah I believe that upgrading on the distribution method is practical because it is compartmentalized into a very small number of packages. Whereas overwriting just some of the files on a source-code build with newer versions may lead to problems. The standard procedure with the source code method of installation is, of course, to do an uninstall, clean and install with sudo make uninstall && make clean && make && sudo make install If you are seeking to upgrade an existing version because of concern about the time that it takes to build the entire SDK, you can speed up the build process by using multiple cores of your computer's processor. This is done by adding a -jx term to the make command, with 'x' representing the number of processor cores that can be used. librealsense recommends -j8, though more powerful high-end processors may be able to make use of higher values such as -j16. Bear in mind that on low-end devices, using -jx may cause the build to randomly hanf. Googling for how many cores do i have provides information about how to determine how many cores your particular computer has. Below is the -j8 version of the build instruction from the librealsense source-code install documentation: sudo make uninstall && make clean && make -j8 && sudo make install |
Hi @milan-r-shah Do you still require assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Hi @MartyG-RealSense, Just wanted to add/request if you or RealSense team can add the instruction for Uninstalling & Upgrading the SDK (built from source) on the instruction page on installing the SDK by building from the source i.e. installation.md then it would great! Thanks again :) |
Issue Description
I had installed RealSense SDK 2.0 using building-from-source method by following installation.md. However, as I have been facing an issue #7313 I want to update the current SDK v2.36.0 to the latest one v2.38.1. So, how can I directly upgrade this SDK to the latest version without uninstalling it?
I found steps for upgrading the SDK in distribution_linux.md but those are for the pre-built packages. I couldn't find similar steps for building-from-source installation method.
The text was updated successfully, but these errors were encountered: