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

ViSP-third-party.txt not showing 3rd party Realsense2: Yes. #1364

Open
minku1219 opened this issue Apr 9, 2024 · 9 comments
Open

ViSP-third-party.txt not showing 3rd party Realsense2: Yes. #1364

minku1219 opened this issue Apr 9, 2024 · 9 comments

Comments

@minku1219
Copy link

librealsense is already installed, still visp is not able to detect librealsense2 as package.

Just to confirm the package, i ran the command

locate librealsense2.so

output:-

/usr/lib/x86_64-linux-gnu/librealsense2.so.2.54
/usr/lib/x86_64-linux-gnu/librealsense2.so.2.54.2

Also i have followed the installation for visp properly.

I am able to get the output for the following file :- testUniversalRobotsGetData

@fspindle
Copy link
Contributor

fspindle commented Apr 9, 2024

What is the result of

$ sudo updatedb
$ locate librealsense2/rs.hpp

You need also cxx standard set to 11 at least

@fspindle fspindle closed this as completed Apr 9, 2024
@fspindle fspindle reopened this Apr 9, 2024
@minku1219
Copy link
Author

Screenshot from 2024-04-09 18-05-49

Attached is the output.

@minku1219
Copy link
Author

Should i export the path for REALSENSE2_INCLUDE_DIRS ?

@fspindle
Copy link
Contributor

fspindle commented Apr 9, 2024

There is something strange having the library in /usr/lib and the headers in /opt/ros.

Can you again run

$ sudo updatedb
$ locate librealsense2.so

@minku1219
Copy link
Author

Screenshot from 2024-04-09 18-25-05

Attached the output.
We have also installed ros-humble-librealsense2 and also followed the official librealsense2 SDK installation, referenced in the screenshot.
We have both so libraries in our system, but still the visp is not able to detect.

@minku1219
Copy link
Author

Can you suggest some quick resolutions?

@minku1219
Copy link
Author

I removed the ros installation related to librealsense and did a fresh installation for librealsense2 from official package.
Now the headed rs.hpp is also not being shown.

@fspindle
Copy link
Contributor

fspindle commented Apr 9, 2024

As you did removing the ros package is what I would suggest.
Did you install the official package with apt install librealsense2-dev?

@minku1219
Copy link
Author

Hi, Thanks for your valuable feedbacks. Perhaps, i have solved the issue after cleaning the librealsense installation completely and reinstalling it.

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