-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[pcl] Fix build when librealsense2 is present #14960
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please update version in CONTROL file?
131fe9c
to
b7129f1
Compare
@NancyLi1013 : You mean setting |
b7129f1
to
1d11038
Compare
1d11038
to
f315f8e
Compare
Have you tested these features included in this PR? |
Well, I've tested that it builds and that I can integrate it into our project. We do not rely directly on librealsense2 inside PCL, but use both of them separately. |
Thanks for your feedback. LGTM now. |
Thanks for submitting upstream and your contribution here! |
Describe the pull request
When librealsens2 is installed, PCL want to build realsense2 grabber. The file
io/src/real_sense_2_grabber.cpp
miscompile and this patch fix it. (Upstream's master have the same modification)Should support everything, since the problem is present in
real_sense_2_grabber.cpp
and it is used in all triplets. However, the autodetection of librealsense is curious and this should be a feature that set a dependency to the librealsense2 package. Anyway, this patch will be still required, so it can be already applied.Not sure, but it should.