Package Details: librealsense 2.55.1-1

Git Clone URL: https://aur.archlinux.org/librealsense.git (read-only, click to copy)
Package Base: librealsense
Description: Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 & L500 series and the SR300).
Upstream URL: https://github.com/IntelRealSense/librealsense
Keywords: intel realsense
Licenses: Apache
Submitter: yang
Maintainer: buresu
Last Packager: buresu
Votes: 9
Popularity: 0.000000
First Submitted: 2016-02-29 07:35 (UTC)
Last Updated: 2024-06-02 12:23 (UTC)

Latest Comments

1 2 3 Next › Last »

dbermond commented on 2024-10-07 18:39 (UTC)

@buresu the 'git' package is missing from makedepends. Package does not build without it:

CMake Error at /usr/share/cmake/Modules/ExternalProject/shared_internal_commands.cmake:951 (message):
  error: could not find git for clone of nlohmann_json

sambilbow commented on 2023-06-17 09:21 (UTC)

FYI 2.53.1 is the last version that supports the following cameras: R300, T265, T261, L515.

petronny commented on 2023-06-11 04:08 (UTC) (edited on 2023-06-11 04:08 (UTC) by petronny)

Hi, git is still needed to clone libcurl:

-- Building libcurl enabled
CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2806 (message):
  error: could not find git for clone of libcurl
Call Stack (most recent call first):
  /usr/share/cmake/Modules/ExternalProject.cmake:4208 (_ep_add_download_command)
  CMake/external_libcurl.cmake:17 (ExternalProject_Add)
  CMake/global_config.cmake:89 (include)
  CMakeLists.txt:52 (global_set_flags)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().

petronny commented on 2023-04-26 06:03 (UTC)

Also, please remove the leading v in pkgver. And glu should be added as a dependency.

petronny commented on 2023-04-26 05:38 (UTC) (edited on 2023-04-26 05:38 (UTC) by petronny)

Hi, is there a particular reason for not to use https://github.com/IntelRealSense/librealsense/archive/refs/tags/v${pkgver}.tar.gz as source?

chrisd1977 commented on 2023-03-06 13:01 (UTC) (edited on 2023-03-08 13:13 (UTC) by chrisd1977)

This has a remarkably bad performance for me. If I run rs-depth on my PC it is using 200% processor time in top, while on a raspberry (of all things) it can do the same thing using only 50% processor time. My own test program cannot grab 30 fps at 1280 x 720. Instead I get 15 fps. On the raspberry it does get 30 fps while using less processor time.

Edit: It appears that I was accusing this library falsely. Turned out that I still had another, much older, version of librealsense on my computer and it was using that one. This one seems to do fine. But I did find that to get metadata I had to add -DFORCE_RSUSB_BACKEND=true to the options of cmake.

bemu commented on 2023-02-05 23:10 (UTC)

if someone has the same problem as acmiyaguchi feel free to use this patch: https://github.com/muellerbernd/my_arch_packages/blob/master/librealsense/include_dir.patch

diff --color -Naur librealsense/CMake/realsense2Config.cmake.in librealsense_new/CMake/realsense2Config.cmake.in
--- A/CMake/realsense2Config.cmake.in   2023-01-30 22:35:28.853406445 +0100
+++ B/CMake/realsense2Config.cmake.in   2023-01-30 22:34:57.253404779 +0100
@@ -6,6 +6,8 @@

 set(realsense2_VERSION ${realsense2_VERSION_MAJOR}.${realsense2_VERSION_MINOR}.${realsense2_VERSION_PATCH})

+set(PACKAGE_PREFIX_DIR /usr)
+# set_and_check(realsense2_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
 set_and_check(realsense2_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")

 include("${CMAKE_CURRENT_LIST_DIR}/realsense2Targets.cmake")

acmiyaguchi commented on 2022-09-30 04:37 (UTC) (edited on 2022-09-30 04:43 (UTC) by acmiyaguchi)

I had (and still) have issues with using this inside of a catkin workspace.

When building against realsense-ros (https://github.com/IntelRealSense/realsense-ros), I get the following error in realsense2_camera:

CMake Error at /lib64/cmake/realsense2/realsense2Config.cmake:11 (message):
  File or directory //include referenced by variable realsense2_INCLUDE_DIR
  does not exist !
Call Stack (most recent call first):
  /lib64/cmake/realsense2/realsense2Config.cmake:33 (set_and_check)
  CMakeLists.txt:44 (find_package)

I resolved this by manually going into /lib64/cmake/realsense2/realsense2Config.cmake and replacing statement setting PACKAGE_PREFIX_DIR to the following:

set(PACKAGE_PREFIX_DIR /usr)

This part of the configuration is set by the following lines:

https://github.com/IntelRealSense/librealsense/blob/5ff27fca5aaeec4736d6bb3bfb958fee82ee198b/CMake/install_config.cmake#L11-L15

Not sure why the PACKAGE_PREFIX_DIR is invalid, would be nice to have this package install cleanly though.

Svanto commented on 2021-06-24 12:04 (UTC)

@pingplug Understood, I apologise for my misconception and thank you very much for the info.

pingplug commented on 2021-06-24 09:16 (UTC)

@Svanto I can't run realsense-viewer with glfw-wayland.