Skip to content

[pcl] Fix build when librealsense2 is present#14960

Merged
BillyONeal merged 1 commit intomicrosoft:masterfrom
IRCAD:pcl-fix-realsense2-grabber
Dec 9, 2020
Merged

[pcl] Fix build when librealsense2 is present#14960
BillyONeal merged 1 commit intomicrosoft:masterfrom
IRCAD:pcl-fix-realsense2-grabber

Conversation

@dweckmann
Copy link
Copy Markdown
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
Copy Markdown

ghost commented Dec 5, 2020

CLA assistant check
All CLA requirements met.

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Have you tested these features included in this PR?

@dweckmann
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Thanks for your feedback. LGTM now.

@NancyLi1013 NancyLi1013 added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Dec 9, 2020
@BillyONeal
Copy link
Copy Markdown
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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants