Skip to content
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

Compilation Error: "No rule to make target" during Librealsense 2.56.3 Installation on AGX Orin with Ubuntu 22.04 #13802

Open
happydrones opened this issue Feb 28, 2025 · 5 comments

Comments

@happydrones
Copy link

I am attempting to install Librealsense version 2.56.3 on my NVIDIA AGX Orin device running Ubuntu 22.04 Jammy Jellyfish. The system specifications are as follows:

Operating System: Ubuntu 22.04 Jammy Jellyfish
Kernel Version: 5.15.148-tegra
Python Version: 3.10.12
CUDA Version: 12.6.68
Jetpack Version: 6.2 [L4T 36.4.3]
The objective is to utilize Python to read video streams from a D435 camera.

Installation Steps:

Clone the Librealsense repository:
git clone https://github.com/IntelRealSense/librealsense.git
Navigate to the cloned directory and create a build directory:

cd librealsense
mkdir build
cd build

Run CMake with the specified options:
cmake .. -DBUILD_EXAMPLES=true -DBUILD_PYTHON_BINDINGS=bool:true -DPYTHON_EXECUTABLE=/usr/bin/python3.10 -DBUILD_DOCUMENTATION=false
Compile the project using make:
Error Encountered:
During the make process, the following error occurs:

make[5]: *** No rule to make target '/home/oscar/librealsense-2.56.md/build/libcurl/src/libcurl-build/docs/libcurl/libcurl-symbols.md', needed by 'docs/libcurl/curl_easy_cleanup.3'.  Stop.
make[4]: *** [CMakeFiles/Makefile2:231: docs/libcurl/CMakeFiles/curl-man.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/libcurl.dir/build.make:87: libcurl/src/libcurl-stamp/libcurl-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:895: CMakeFiles/libcurl.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Additional Information:
Request for Assistance:
I seek guidance on resolving this compilation error to successfully install Librealsense 2.56.3 and utilize Python for accessing the D435 camera's video stream.

@MartyG-RealSense
Copy link
Collaborator

Hi @happydrones Another RealSense user recently experienced this issue with 2.56.3 and libcurl at #13767 and I suggested trying using the CMake build flag -DCHECK_FOR_UPDATES=false as another user had reported that it enabled the libcurl issue to be bypassed.

@happydrones
Copy link
Author

Hi @happydrones Another RealSense user recently experienced this issue with 2.56.3 and libcurl at #13767 and I suggested trying using the CMake build flag -DCHECK_FOR_UPDATES=false as another user had reported that it enabled the libcurl issue to be bypassed.

Oh really, I am truly grateful for your response, as I have been troubled by this issue for a whole day. I really appreciate it.

@happydrones
Copy link
Author

Hi @happydrones Another RealSense user recently experienced this issue with 2.56.3 and libcurl at #13767 and I suggested trying using the CMake build flag -DCHECK_FOR_UPDATES=false as another user had reported that it enabled the libcurl issue to be bypassed.

By the way, if I want to achieve my objective, is it correct to first install the librealsense2 SDK and then install pyrealsense2? Looking forward to your reply.

@MartyG-RealSense
Copy link
Collaborator

If you are including the Python flags -DBUILD_PYTHON_BINDINGS=bool:true -DPYTHON_EXECUTABLE=/usr/bin/python3.10 in your CMake build instruction, as you have done, then the librealsense SDK and the pyrealsense2 wrapper will be built together at the same time and so you do not need to install the wrapper once the installation process is complete as pyrealsense2 has already been built.

@happydrones
Copy link
Author

If you are including the Python flags -DBUILD_PYTHON_BINDINGS=bool:true -DPYTHON_EXECUTABLE=/usr/bin/python3.10 in your CMake build instruction, as you have done, then the librealsense SDK and the pyrealsense2 wrapper will be built together at the same time and so you do not need to install the wrapper once the installation process is complete as pyrealsense2 has already been built.

Thank you so much, I really appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants