[vtkusers] vtkRenderWindow::New() returns null

David E DeMarle dave.demarle at kitware.com
Wed Sep 24 11:38:55 EDT 2014


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

On Wed, Sep 24, 2014 at 11:32 AM, Tankard <emptytanka at web.de> wrote:

> In the linker settings, I included the path to the /lib folder of my VTK
> installation (not the build-folder). I also added all *.lib files from the
> VTK/lib, including the vtkRenderingOpenGL-6.1.lib.
>
>
> David Gobbi wrote
> > This can happen if you don't include the vtkRenderingOpenGL library
> > in your project.
> >
> >  - David
>
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkRenderWindow-New-returns-null-tp5728854p5728859.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140924/b79fc40a/attachment.html>


More information about the vtkusers mailing list