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

[pcl] Fix build when librealsense2 is present #14960

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

dweckmann
Copy link
Contributor

Describe the pull request

  • What does your PR fix?

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)

  • Which triplets are supported/not supported? Have you updated the CI baseline?

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.

@ghost
Copy link

ghost commented Dec 5, 2020

CLA assistant check
All CLA requirements met.

Copy link
Contributor

@NancyLi1013 NancyLi1013 left a 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?

@NancyLi1013 NancyLi1013 added category:port-bug The issue is with a library, which is something the port should already support requires:author-response labels Dec 7, 2020
@dweckmann dweckmann force-pushed the pcl-fix-realsense2-grabber branch 2 times, most recently from 131fe9c to b7129f1 Compare December 7, 2020 08:26
@dweckmann
Copy link
Contributor Author

@NancyLi1013 : You mean setting Port-Version: 2 ? It should be good. Sorry for dumb question, I'm a newbie :-)

@dweckmann dweckmann force-pushed the pcl-fix-realsense2-grabber branch from 1d11038 to f315f8e Compare December 9, 2020 06:09
@NancyLi1013
Copy link
Contributor

Have you tested these features included in this PR?

@dweckmann
Copy link
Contributor Author

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.

@NancyLi1013
Copy link
Contributor

Thanks for your feedback. LGTM now.

@NancyLi1013 NancyLi1013 added the info:reviewed Pull Request changes follow basic guidelines label Dec 9, 2020
@BillyONeal
Copy link
Member

Thanks for submitting upstream and your contribution here!

@BillyONeal BillyONeal merged commit 3aad1d6 into microsoft:master Dec 9, 2020
@dweckmann dweckmann deleted the pcl-fix-realsense2-grabber branch December 10, 2020 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants