Closed monson-li closed 2 months ago
Hi @monson-li It looks as though you are building building librealsense 2.55.1 from source code with CMake. Which installation method did you use, please?
For example, you can download the source code for 2.55.1 as a zip file and build it using the instructions at https://github.com/IntelRealSense/librealsense/issues/9931#issuecomment-964289692
Do you experience the same problem with building librealsense 2.55.1 from source code if you do so using the libuvc backend build script at the link below, please?
https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md
Hi @monson-li Do you require further assistance with this case, please? Thanks!
Case closed due to no further comments received.
Hi, MartyG. I have downloaded the zip file "librealsense-master" and unzip that. When I cmale../ in the "build" file, it shows me RPC failed.
Possible causes and fixes for the 'RPC failed' are listed in your earlier issue at https://github.com/IntelRealSense/librealsense/issues/13250#issuecomment-2277486376
-- The CXX compiler identification is GNU 7.5.0 -- The C compiler identification is GNU 7.5.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Checking internet connection... -- Internet connection identified -- Info: REALSENSE_VERSION_STRING=2.55.1 -- Setting Unix configurations -- No output directory set; using /home/sti/librealsense-master/build/Release/ -- Building libcurl enabled -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1") You have called ADD_LIBRARY for library realsense2 without any source files. This typically indicates a problem with your CMakeLists.txt file -- Performing Test SUPPORTS_CXX14 -- Performing Test SUPPORTS_CXX14 - Success -- using RS2_USE_V4L2_BACKEND -- Found usb: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'libudev' -- Found libudev, version 237 -- Found Udev: /usr/include
-- Fetching nlohmann/json... Cloning into 'json'... error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed Cloning into 'json'... error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed Cloning into 'json'... error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed CMake Error at /home/sti/librealsense-master/build/external-projects/json-download/tmp/nlohmann_json-gitclone.cmake:66 (message): Failed to clone repository: 'https://github.com/nlohmann/json.git'
make[2]: [src/nlohmann_json-stamp/nlohmann_json-download] Error 1 make[1]: [CMakeFiles/nlohmann_json.dir/all] Error 2 make: *** [all] Error 2 CMake Error at CMake/external_json.cmake:34 (message): Failed to download nlohmann/json Call Stack (most recent call first): CMake/external_json.cmake:50 (get_nlohmann_json) third-party/CMakeLists.txt:3 (include) CMakeLists.txt:58 (include)
-- Configuring incomplete, errors occurred! See also "/home/sti/librealsense-master/build/CMakeFiles/CMakeOutput.log".
How can I solve this