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] Can't include file vtkImageViewer.h (VTK v8.2) #3762

Closed
JaKno63 opened this issue Mar 18, 2020 · 6 comments
Closed

[pcl] Can't include file vtkImageViewer.h (VTK v8.2) #3762

JaKno63 opened this issue Mar 18, 2020 · 6 comments
Labels

Comments

@JaKno63
Copy link

JaKno63 commented Mar 18, 2020

Describe the bug

These PCL projects

pcl_visualization
pcl_openni2_viewer
pcl_tiff2pcd
pcl_pcd_image_viewer
pcl_viewer
pcl_hdl_viewer_simple
pcl_vlp_viewer
pcl_virtual_scanner

don't build (Debug and Release) because these include paths

Path_To_VTK\build\Interaction\Image
Path_To_VTK\Interaction\Image

are missing in the VS2019 project files generated by cmake

Context

Expected behavior

Current Behavior

To Reproduce

Your Environment (please complete the following information):

  • OS: Windows 10 1903
  • Compiler: Microsoft Visual Studio Professional 2019
  • PCL Version 1.10.0, HEAD

Possible Solution

Additional context

@JaKno63 JaKno63 added kind: bug Type of issue status: triage Labels incomplete labels Mar 18, 2020
@taketwo
Copy link
Member

taketwo commented Mar 20, 2020

What's the VTK version?

@taketwo taketwo added the needs: author reply Specify why not closed/merged yet label Mar 20, 2020
@JaKno63
Copy link
Author

JaKno63 commented Mar 20, 2020

8.2.0

@taketwo
Copy link
Member

taketwo commented Mar 20, 2020

The status of VTK >= 8.2.0 support in PCL is not certain. There is a work-in-progress PR #3637 that fixes some issues, you may give it a try. Alternatively, downgrade.

@larshg
Copy link
Contributor

larshg commented Mar 20, 2020

How have you installed the dependency libs? VCPKG? can you post the result of the cmake - because I'm using VTK 8.2, but there are some problems with it linking to both release and debug of their 3. party libraries, which causes runtime errors for some in Debug build I think.

@JaKno63
Copy link
Author

JaKno63 commented Mar 20, 2020

I pulled all sources (BOOST, EIGEN, FLANN, VTK and PCL) and compiled them. FLANN on Windows didn't compile due to missing lz4lib, so I also installed the latest PCL complete package and copied the FLANN libs to the corresponding folders (I had to rename the debug libs).

@kunaltyagi kunaltyagi changed the title [pcl] Can't open include file vtkImageViewer.h [pcl] Can't include file vtkImageViewer.h (VTK v8.2) Mar 22, 2020
@kunaltyagi kunaltyagi added module: visualization and removed status: triage Labels incomplete labels Mar 22, 2020
@larshg
Copy link
Contributor

larshg commented May 16, 2020

Normally CMake should include the appropriate headers directories and I haven't experienced this, even though I have compiled many times with VTK 8.2 from VCPKG.

Might have been a misconfiguration when building VTK?

I doubt its something in PCL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants