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

Installation instructions for yarpmod realsense2 on Win32 #6

Open
randaz81 opened this issue Jan 2, 2020 · 1 comment
Open

Installation instructions for yarpmod realsense2 on Win32 #6

randaz81 opened this issue Jan 2, 2020 · 1 comment

Comments

@randaz81
Copy link
Member

randaz81 commented Jan 2, 2020

To install the module realsense2, user needs to set the environment variable realsense2_DIR.
However, no instructions are provided about what this variable should point to, on both linux and windows.

  • On windows, if you install the realsense-sdk from https://github.com/IntelRealSense/librealsense/releases, yarp does not detects the library, even if realsense2_DIR is properly set to the installation folder (e.g. C:\Program Files (x86)\Intel RealSense SDK 2.0). I haven't tested this installation procedure on Linux, even if it is available.
  • if you clone the repository from https://github.com/IntelRealSense/librealsense, you build it, and you set realsense2_DIR to the build dir, yarp detects the library but the ccmake fails afterwards, complaining about missing headers (the same error is shown on Linux too). This is pretty misleading.
  • the solution that worked for me was to install the library, after building it, making realsense2_DIR pointing to the installed directory.
@Nicogene
Copy link
Member

Nicogene commented Jan 2, 2020

Hi @randaz81!

It seems to me more a problem that should be resolved upstream by Intel if the SDK installer doesn't install the library and include headers where their realsense2Config.cmake try to find it.

Following their installation instruction on linux/macOs, find_package(realsense2) works fine.

I suggest to report them these problems on windows if no one has done it yet.

@drdanz drdanz transferred this issue from robotology/yarp Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants