I managed to compile on debian bookworm/sid with wsl2.
Bad luck, too demanding
No provider of glCreateShader found. Requires one of:
Desktop OpenGL 2.0
OpenGL ES 2.0
GL_ARB_shader_objects
Aborted
edit : eureka
thanks to :
export LIBGL_ALWAYS_INDIRECT=0
