[vtkusers] Segfault when Adding Renderer in Linux but now Window

robert.hedges at lickenbrocktech.com robert.hedges at lickenbrocktech.com
Wed Sep 26 16:12:04 EDT 2018

 I'm running VTK master branch (qt 5.10.1) and have code that will run in Windows but not in Linux:
The ui file defines the qvtkWidget as a QVTKOpenGLWidget
These lines run as expected:
vtkSmartPointer<vtkGenericOpenGLRenderWindow> vRendWin=vtkSmartPointer<vtkGenericOpenGLRenderWindow>::New();
vtkSmartPointer<vtkRenderer> vRend=vtkSmartPointer<vtkRenderer>::New();
However, this line causes a segfault:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180926/d4ccd74b/attachment.html>

More information about the vtkusers mailing list