When building with the vs backend, opengl will not be built into SDL3. It will build in OpenGL support on Windows with MingW, and on Linux. I'm not quite sure what the issue is. I have tried including opengl as a required dependency, but that also leads to the same result. below is the meson.build file (project name ommitted). sdl3 is using the wrap provided, but gl is meant to be found on the system.
project('proj', 'cpp', default_options: ['default_library=static', 'backend_startup_project=proj'])
gl_dep = dependency('gl', method: 'system', required: true)
sdl3_dep = dependency('sdl3', required: true)
sources = [
'main.cpp'
]
executable('proj', sources, dependencies: [sdl3_dep, gl_dep])
When building with the vs backend, opengl will not be built into SDL3. It will build in OpenGL support on Windows with MingW, and on Linux. I'm not quite sure what the issue is. I have tried including opengl as a required dependency, but that also leads to the same result. below is the meson.build file (project name ommitted). sdl3 is using the wrap provided, but gl is meant to be found on the system.