Skip to content

SDL3 does not build with OpenGL when using VS BackendΒ #2378

@cablechords

Description

@cablechords

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])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions