[vtkusers] Problem initializing GLEW with vtk8.1

Jothybasu Selvaraj jothybasu at gmail.com
Wed Jul 11 06:36:38 EDT 2018


Dear All

I just build vtk8.1 and tried to render a sphere using QVTKOpelnGLWidget
-hope this is the recommended over QVTKWidget in vtk8.1.

I am getting this error. I am using QtCreator.

vtkGenericOpenGLRenderWindow (00000255BB134430): GLEW could not be
initialized.


I have the following in the header file of the class which renders this:

#define vtkRenderingCore_AUTOINIT
3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL2)

#define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL2)


Any ideas how to fix this?


I am coming back to VTK after suing vtk 6.x.



Regards,

Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180711/459e6fc4/attachment.html>


More information about the vtkusers mailing list