[vtkusers] Problem initializing GLEW with vtk8.1

Jothybasu Selvaraj jothybasu at gmail.com
Wed Jul 11 07:01:13 EDT 2018


Windows 10 with Nvidia card.

Sent from Mail for Windows 10

From: Todd
Sent: Wednesday, July 11, 2018 9:00 PM
To: Jothybasu Selvaraj
Cc: VTK Mailing List
Subject: Re: [vtkusers] Problem initializing GLEW with vtk8.1

What platform are you using?

On 11 Jul 2018 10:36 p.m., Jothybasu Selvaraj <jothybasu at gmail.com> wrote:
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/22f9b779/attachment.html>


More information about the vtkusers mailing list