[vtkusers] vtkRenderWindow::New() returns null

Tankard emptytanka at web.de
Wed Sep 24 11:50:07 EDT 2014


Thanks a lot. I don't use CMake and this fixed the problem.


David E DeMarle wrote
> You are probably not using cmake, and thus not automatically getting the
> runtime initialization of the vtkRenderingOpenGL module. Which is an
> implementation of the vtkRenderingModule.
> 
> From: http://www.vtk.org/Wiki/VTK/Build_System_Migration
> 
>  #include 
> <vtkAutoInit.h>
>  VTK_MODULE_INIT(vtkRenderingOpenGL);
>  VTK_MODULE_INIT(vtkInteractionStyle);
> 
> 
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909





--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkRenderWindow-New-returns-null-tp5728854p5728862.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list