Running VTK-8.2 application in wine: "GLEW could not be initialized:Missing GL version"

Questions about Wine on Linux
Locked
hkroeger
Newbie
Newbie
Posts: 1
Joined: Mon Dec 12, 2022 11:02 am

Running VTK-8.2 application in wine: "GLEW could not be initialized:Missing GL version"

Post by hkroeger »

Dear wine experts,

I try to run an application which I wrote myself and cross-compiled for Windows using the MXE toolchain.
It runs in a native Windows system. For testing, I would like to run it in wine.
So the problem is now that I get the above error in the VTK output window
ERROR: In ../../../VTK-8.2.0/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 741
vtkGenericOpenGLRenderWindow (0x7f725280): GLEW could not be initialized: Missing GL version
and maybe these messages on the console are related:
Failed to load libEGL (Modul nicht gefunden.)
create: Failed to load and resolve libEGL functions
Failed to load opengl32sw.dll (Modul nicht gefunden.)
Failed to load and resolve WGL/OpenGL functions
QOpenGLWindow::beginPaint: Failed to create context
QOpenGLWindow::beginPaint: Failed to make context current
Generally, I expect the program to work, because it did earlier on another machine with a quite similar setup (which I don't have access to any more).

Can someone give my a hint how to solve this?

My computer runs Ubuntu-22 LTS and wine 7.0.1

Regards, Hannes
Locked