I’m getting this error upon installing MFiX version 25.3 and also 25.2.1 on a new WSL2 system, using Fedora distro. I have briefly compared the vtk versions to a working setup on another unit, and they seem to be the same. Attaching the conda list.
2025-10-21 22:56:17.943 ( 3.139s) [ 719EA004F780]vtkOpenGLRenderWindow.c:701 ERR| vtkEGLRenderWindow (0x565811930200): GLEW could not be initialized: Missing GL version
Thanks, yes seems like this is related to a VTK version, it’s not so much the WSL causing this I think. I have got it all working by copying over a WSL virtual machine from another computer. It’s just not so easy to sese exactly what version is causing the problems. Thanks anyway, I just wanted to add it here in case other people are experiencing something similar.
There are just so many variables here: VTK version, WSL settings, X server settings, and various environment variables such as LIBGL_ALWAYS_INDIRECT, VTK_DEFAULT_OPENGL_WINDOW, and MESA_GL_VERSION_OVERRIDE….
What are you using for an X server? Does WSL come with a built-in X server?
I would say that there are few possibilities still, because I have MFiX working on an exact same setup, only difference is installation time. Meaning only the packages in conda differ between the two. I just haven’t sat down and compared the them, and downgraded the faulty ones.
Conda is a bit of a moving target. Dependencies are resolved at installation time, not when we build the packages. Anyhow, we have modified the conda dependency list to specify vtk=*=*qt* so future releases should work correctly.