trlsmax / imgui-vtk

test on how to integrate vtk into glfw + imgui project
MIT License
107 stars 26 forks source link

Error during compilation with VTK 8.2.0 #4

Closed capitan-davide closed 3 years ago

capitan-davide commented 3 years ago

Hi,

I am trying to compile with Visual Studio 16 2019, VTK 9.0.1 is working fine but with VTK 8.2.0 I am having the following errors:

class "vtkGenericOpenGLRenderWindow" has no member "UseOffScreenBuffersOff" class "vtkGenericOpenGLRenderWindow" has no member "SetShowWindow"

Is there a VTK 8.2 compatible way to do this? Thank you for your answer.

Regards

trlsmax commented 3 years ago

Just push a new commit. Please try and let me know if it works.

capitan-davide commented 3 years ago

Thank you. the vtkOutputWindow is spamming warnings but once you close that the ImGUI vtk window becomes responsive and seems to be working

vtkOutputWindow .