Items with no label
3335 Discussions

Can't install Intel d435 SDK on Jetson tx1

GKwak
Beginner
3,198 Views

Hi,

I have been trying to install the intel d435 sdk on the jetson tx1. Following the linux instructions for the package install does not work because of the jetson's arm processor. I flashed the jetson to the latest version of the L4T package, tried using this https://github.com/jetsonhacks/installLibrealsenseTX1 GitHub - jetsonhacks/installLibrealsenseTX1: Install lbrealsense for Intel RealSense cameras on Jetson TX1 Development K… , and https://github.com/jetsonhacks/buildLibrealsense2TX GitHub - jetsonhacks/buildLibrealsense2TX: Build librealsense 2.0 library on the NVIDIA Jetson TX Development kit. Intel… , but nothing has worked so far. The jetsonhacks installers seem to be looking for files that do not exist.

Thanks in advance.

0 Kudos
10 Replies
MartyG
Honored Contributor III
878 Views

A question about problems with installing Librealsense on Jetson was on the RealSense GitHub support site a week ago. Replies were posted by myself and Dorodnic the RealSense SDK Manager I will link you to that discussion.

https://github.com/IntelRealSense/librealsense/issues/2676 Jetson Installation · Issue # 2676 · IntelRealSense/librealsense · GitHub

0 Kudos
GKwak
Beginner
878 Views

Thank you, but we are getting this message from the patch script.

0 Kudos
MartyG
Honored Contributor III
878 Views

My knowledge of Linux, and Jetson setup with Librealsense, is limited, unfortunately. The best thing to do may be to post a comment on the currently active RealSense GitHub discussion that I linked to above.

Can you tell me please if you followed Dorodnic's advice in that discussion: "As with every other non-Intel non-LTS Linux distro, you have a "backup" backend that does not rely on patching the kernel. To enable it, add -DFORCE_LIBUVC=true to CMake".

0 Kudos
GKwak
Beginner
878 Views

I'm not sure where to add that flag or what command to add it to.

0 Kudos
MartyG
Honored Contributor III
878 Views

The flag is added in CMake. Dorodnic the RealSense SDK Manager has said about it, ""When you enable this flag in CMake, what will happen is that the library will translate all the UVC commands into buffer and then send it to the camera via USB, therefore bypassing any specific streaming APIs".

The topic of CMake flags is covered on the page linked to below.

https://github.com/IntelRealSense/librealsense/wiki/Build-Configuration Build Configuration · IntelRealSense/librealsense Wiki · GitHub

0 Kudos
GKwak
Beginner
878 Views

I tried running the cmake ..-DFORCE_LIBUVC=true command in the librealsense directory, but I get an error saying that CMakeLists.txt isn't found. Is there something else I should be doing?

Thank you.

0 Kudos
MartyG
Honored Contributor III
878 Views

I do not have previous experience in installing Librealsense myself (I primarily develop in the Unity games engine), so this answer is going to be my best-guess based on the documentation.

1. Go to the Librealsense directory (which you have already done).

2. Input this command:

mkdir build && cd build

3. Run CMake with the command below, which instructs it to also (a) build Librealense along with the demos and tutorials, and (b) use the DFORCE bypass.

cmake ../ -DBUILD_EXAMPLES=true -DFORCE_LIBUVC=true

0 Kudos
GKwak
Beginner
878 Views

Thanks. I ran cmake ../ -DBUILD_EXAMPLES=true -DFORCE_LIBUVC=true, but it turned out that I needed to update cmake (I had 3.5, so I downloaded 3.13). There were some failures in the install, which I'm not sure are important or not.

I ran cmake ../ -DBUILD_EXAMPLES=true -DFORCE_LIBUVC=true again, but I got another error:

For some reason, there is no cuda folder in usr/local. I have flashed my jetson tx1 to the latest l4t.

0 Kudos
MartyG
Honored Contributor III
878 Views

Somebody else had this issue.

https://github.com/jetsonhacks/buildLibrealsense2TX/issues/13 No CMAKE_CUDA_COMPILER could be found (solved) · Issue # 13 · jetsonhacks/buildLibrealsense2TX · GitHub

There is also a reference within that discussion to this:

https://github.com/jetsonhacks/buildLibrealsense2TX/issues/12 Install Librealsense with CUDA on Jetson Tx2 · Issue # 12 · jetsonhacks/buildLibrealsense2TX · GitHub

0 Kudos
GKwak
Beginner
878 Views

Thank you, but we are getting this message from the patch script.

0 Kudos
Reply