[vtkusers] vtkPolyDataMapper::New() returns null for the VTK nightly build

Bill Lorensen bill.lorensen at gmail.com
Wed Nov 21 11:07:15 EST 2012


See if this link explains what to do:
http://vtk.org/Wiki/VTK/Build_System_Migration#Implementation_Modules


On Wed, Nov 21, 2012 at 10:25 AM, Dan Lipsa <dan.r.lipsa at gmail.com> wrote:
> Hi all,
> I downloaded the VTK git nightly build today and build it and linked it with
> my program without problems.
>
> I am using my own interactor style derived from
> vtkInteractorStyleTrackballCamera.
> The creation of vtkInteractorStyle fails because vtkPolyDataMapper::New();
> returns null.
>
> Does anyone have any suggestions about how to fix this?
>
> Thank you very much,
> Dan
>
> What follows is the call stack when the segmentation fault occured.
>
> 0x00007ffff2323b99 in vtkInteractorStyle::vtkInteractorStyle
> (this=0x246ff10) at
> /home/dlipsa/external/VTK/Rendering/Core/vtkInteractorStyle.cxx:64
> (gdb) bt
> #0  0x00007ffff2323b99 in vtkInteractorStyle::vtkInteractorStyle
> (this=0x246ff10) at
> /home/dlipsa/external/VTK/Rendering/Core/vtkInteractorStyle.cxx:64
> #1  0x00007ffff260614a in
> vtkInteractorStyleTrackballCamera::vtkInteractorStyleTrackballCamera
> (this=0x246ff10) at
> /home/dlipsa/external/VTK/Interaction/Style/vtkInteractorStyleTrackballCamera.cxx:28
> #2  0x00000000004ea5c7 in FoamvisInteractorStyle::FoamvisInteractorStyle
> (this=0x246ff10) at FoamvisInteractorStyle.cpp:16
>
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtkusers mailing list