Where is the vtkContextView header file?

(Kim William) #1

Hi all.

I have a question about vtkContextView.

  • environment
    SDK: VTK 8.9
    IDE: Visual Studio 2015
    OS: Windows 7 x64

I want to run the Line plot sample code.

But the compiler can’t find vtkContextView header file.
vtkContextView%20header

I think my generated library files(include, bin, lib) via CMake has no problem, because of other sample code work well.
GitLab link: https://gitlab.kitware.com/vtk/vtk

Could you please help me?

Thank you :slight_smile:

(Dan Lipsa) #2

Hi Kim,

The header is in:
Views/Context2D

Also make sure you enable ViewsContext2D module when you compile VTK.

(Kim William) #3

Hi Dan!

Thank you for your help.

I can make it!

Thank you :slight_smile: