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

vcpkg install pcl:x64-windows, but visualization include not installed #include <pcl/visualization/pcl_visualizer.h> missing from pcl installed include #11601

Closed
HuQingsheng520 opened this issue May 26, 2020 · 27 comments
Assignees
Labels
depends:upstream-changes Waiting on a change to the upstream project

Comments

@HuQingsheng520
Copy link

HuQingsheng520 commented May 26, 2020

My Environment

  • Operating System and version: Win10

  • Compiler: VS 2017

  • PCL Version: Version: 1.9.1-13

  • VTK Version: Version: 9.0

Context

standard installation of pcl with vcpkg does not generate visualization include directory.
How can the include directory get generated by pcl installation using vcpkg ?

@Neumann-A
Copy link
Contributor

duplicate of #11462. Requires upstream update to support VTK 9.0.

@LilyWangL LilyWangL added the depends:upstream-changes Waiting on a change to the upstream project label May 27, 2020
@dentx22
Copy link

dentx22 commented May 30, 2020

news ?

@HuQingsheng520
Copy link
Author

news ?
Yes

@davidbun
Copy link

davidbun commented Jun 2, 2020

Same issue for me - cannot continue
Any time estimations for fixing that?

@Neumann-A
Copy link
Contributor

Ask upstream? (https://github.com/PointCloudLibrary/pcl)
Maybe here in specific PointCloudLibrary/pcl#4096 ?

@vikasmalik22
Copy link

I am also facing the same issue. Any updates?

@HuQingsheng520
Copy link
Author

I am also facing the same issue. Any updates?
My solution is to download and use the 2020.04 release.

@vikasmalik22
Copy link

I am also facing the same issue. Any updates?
My solution is to download and use the 2020.04 release.

I tried fresh installation still it didn't work.

I did >> vcpkg install pcl:x64-windows-static

Vcpkg package management program version 2020.02.04-nohash
visualization folder is completely missing from pcl folder.

@davidbun
Copy link

Any update on this issue? Still no visualization folder in include files

@Neumann-A
Copy link
Contributor

Upstream progress is tracked in PointCloudLibrary/pcl#4262
If you want updates subscribe to that PR or ask question there.

@TaylorDale
Copy link

Any way to use an older version in the meantime?

@raahilsha-z
Copy link
Contributor

raahilsha-z commented Aug 25, 2020

I'm currently using VCPKG commit ecfc714 (git checkout on VCPKG folder after clone). If you're using QT, you might need to grab the download files for QT from the archive here and manually place them inside the vcpkg/downloads folder. This commit lets me install pcl[openni2,qt,tools,cuda,opengl]:x64-windows without any issues.

Edit: pcl[cuda] might not work out of the box with this vcpkg commit. You will have to implement the changes detailed in at least this commit to get cuda compiling.

@JanKovis
Copy link

I had to download VTK8, compile it separately, bend PCL to use that VTK version 8.0,
Struggled with convex hull calculation as well, it used qhull, needed to compile qhull separately and point PCL to it.
Quite some tinkering in source/CMake files to achieve PCL build with visualization and convex hulls!

@Andyjk1406
Copy link

I think (think...) this might be solved upstream now.

https://github.com/PointCloudLibrary/pcl/pull/4262

@JackBoosY
Copy link
Contributor

Duplicated to #15130

@Chris45215
Copy link

Chris45215 commented Jul 18, 2021

Is there some solution that doesn't involve going down a rabbit hole of compiling components (and their sub-components and dependencies) myself? And/or, can actual instructions on how to install the visualizer components after installing PCL via vcpkg be added to the official instructions (which are the top google result) at https://pointclouds.org/downloads/?

For the official instructions to consist of a single line with the implication of "it just works", while the reality is that the visualizer - which is kind of the point of all the pointcloud stuff for many people - isn't included and this fact isn't disclosed in those instructions... that type of thing that is usually done by developers who want to spite everyone who tries to use the project.

@JackBoosY
Copy link
Contributor

@Chris45215 We should update the dependency first.

@abdullah-azab
Copy link

having the same problem here in Poth the x86 and the x64 versions, I've noticed that the missing files are in the buildtrees folder , but you wouldn't just copy a file and it works the folder structure is not the same .

@kaitou1419
Copy link

i having the same problems in install x86 PCL via vcpkg . is there any solution to solve it

@Ilmu011
Copy link

Ilmu011 commented Nov 17, 2021

This problem seems to be fixed in the newest version. If you still come across this problem, try updating vcpkg via git pull and run vcpkg upgrade --no-dry-run to update your packages to the newest version. I was also missing the visualization module and after updating vcpkg and its packages it was there.

@yoavmil
Copy link

yoavmil commented Jan 16, 2022

Same problem here. Updating vcpkg didn't work for me.

@JackBoosY
Copy link
Contributor

@yoavmil Can you please provide the repro step?

@yoavmil
Copy link

yoavmil commented Jan 17, 2022

@JackBoosY Not much to it.

cd vcpkg
git pull
vcpkg install pcl:x64-windows
vcpkg list pcl # pcl:x64-windows  1.12.0#2  Point Cloud Library (PCL) is open source library...
vcpkg --version # Vcpkg package management program version 2021-12-09-724cea8b33cbf06c645f5095fa29773697da9761

@JackBoosY
Copy link
Contributor

@yoavmil Also please provide the failure logs?

@yoavmil
Copy link

yoavmil commented Jan 18, 2022

@JackBoosY, no failure logs. Just that the visualation header and dll doesn't exist.

@JackBoosY
Copy link
Contributor

@yoavmil Please git pull vcpkg, remove pcl and install pcl with feature visualization.
I can confirm the headers and dlls are exist.

@yoavmil
Copy link

yoavmil commented Jan 18, 2022

Yep, my fault. needed to
vcpkg install pcl[visualization]:x64-windows
Wasn't aware of the options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends:upstream-changes Waiting on a change to the upstream project
Projects
None yet
Development

No branches or pull requests