Skip to content

Add x11 on linux when vtk 9.6+#6435

Merged
mvieth merged 1 commit into
PointCloudLibrary:masterfrom
daeho-ro:master
May 5, 2026
Merged

Add x11 on linux when vtk 9.6+#6435
mvieth merged 1 commit into
PointCloudLibrary:masterfrom
daeho-ro:master

Conversation

@daeho-ro

Copy link
Copy Markdown
Contributor

It seems that vtk is no longer required x11, it is an optional. So I think it should be added explicitely here for safety.

@daeho-ro daeho-ro mentioned this pull request Apr 30, 2026
1 task
@mvieth

mvieth commented May 3, 2026

Copy link
Copy Markdown
Member

Thank you for the pull request. I tried to reproduce the problem by building PCL with VTK 9.6, but everything was fine. Maybe that is just because the X11 includes are in the standard include path on my computer (/usr/include). Are the includes here and here the problem, or what else is going wrong when PCL does not link to X11 explicitly?

@daeho-ro

daeho-ro commented May 3, 2026

Copy link
Copy Markdown
Contributor Author

Nothing else, that is all I think. In our CI on macos, libx11 is not include in general and so it does failed at that point. That is why I am trying to add x11 requirements here.

@mvieth mvieth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, thanks for the explanation!

@mvieth mvieth merged commit 4a6fbd8 into PointCloudLibrary:master May 5, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: fix Meta-information for changelog generation module: cmake module: visualization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants