Skip to content

Cannot get Orca to work with the SDL example #328

@squeaktoy

Description

@squeaktoy

All I see is

This example has no visible GUI, and a keyboard interface:
- [Tab] switches focus between two logical buttons.
- [Space] 'presses' the button, adding static text in a live region announcing that it was pressed.
Enable Orca with [Super]+[Alt]+[S].

Orca is turned on, but it won't read anything from this window. Does anyone else have this issue? I'm using accesskit_c v0.6.2. I also tried compiling accesskit from source, which worked after modifying Cargo.toml to not use winit but unix instead. I couldn't build the C bindings though. It requires rustup for some reason, but I want to stick with my distro's toolchain. I just used the header from 0.6.2.
The way I compiled the SDL example is as follows:

gcc -laccesskit -lSDL2 -I/usr/include/SDL2 hello_world.c

CMake again refuses to compile it correctly because it cannot find accesskit despite it being on my system, hence the manual gcc invocation.

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