[vtkusers] Problem initializing GLEW with vtk8.1

Mathieu Westphal mathieu.westphal at kitware.com
Wed Jul 11 20:18:17 EDT 2018


Hello,

You may want to try with QVTKOpenGLSimpleWidget as well.
Please see this examples, available in VTK/GUISupport/Qt/Testing/Cxx

Best,

Mathieu Westphal

On Wed, Jul 11, 2018 at 1:27 PM, Todd via vtkusers <
vtkusers at public.kitware.com> wrote:

> You might need to install/reinstall Nvidia drivers.
>
> On 11 Jul 2018 11:08 p.m., Todd <nztoddler at yahoo.com> wrote:
>
> The reason I asked, and it might be irrelevant, is that another user was
> running a c++ project with VTK 8.1 on Hyper-V, which does not support
> opengl 2, and got a similar error. He had to install Mesa.
>
> On 11 Jul 2018 11:01 p.m., Jothybasu Selvaraj <jothybasu at gmail.com> wrote:
>
> Windows 10 with Nvidia card.
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *Todd <nztoddler at yahoo.com>
> *Sent: *Wednesday, July 11, 2018 9:00 PM
> *To: *Jothybasu Selvaraj <jothybasu at gmail.com>
> *Cc: *VTK Mailing List <vtkusers at vtk.org>
> *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
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180712/73e57dad/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestQVTKOpenGLSimpleWidget.cxx
Type: text/x-c++src
Size: 2586 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180712/73e57dad/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestQVTKOpenGLWidget.cxx
Type: text/x-c++src
Size: 2824 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180712/73e57dad/attachment-0001.cxx>


More information about the vtkusers mailing list