Skip to content

SDL3 wrap issues #2026

@jgouly

Description

@jgouly

I tried to port a project using SDL2 to SDL3 using the SDL3 wrap, on macOS.
I found a few issues:

This list is missing Carbon and UniformTypeIdentifier frameworks

See the upstream CMakeLists.txt:
https://github.com/libsdl-org/SDL/blob/93ac1e6894fac101008643a6cf0cc13b4524d18e/CMakeLists.txt#L2415

I needed to add

cdata.set('SDL_VIDEO_OPENGL_CGL', 1)
cdata.set('SDL_VIDEO_OPENGL', 1) 

cdata.set('SDL_TIMER_UNIX', 1)
to here, to enable OpenGL.

and had to add

cdata.set('SDL_VIDEO_DRIVER_COCOA', 1)

elif host_machine.system() == 'darwin'
here to enable the Cocoa video driver.

I'm making an issue not a PR since I don't really have much knowledge about this.

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