Skip to content

Specify minimal SDL2 version required #768

@etam

Description

@etam

I noticed, that for an old system lagrange fails to build, because

[   74s] /home/abuild/rpmbuild/BUILD/lagrange-1.20.2/src/ui/gamepad.c:102:13: error: implicit declaration of function 'SDL_GameControllerGetType'; did you mean 'SDL_GameControllerGetAxis'? [-Werror=implicit-function-declaration]

According to https://wiki.libsdl.org/SDL2/SDL_GameControllerGetType the missing function is available since SDL 2.0.12.

It would be best if the minimal required version was specified in cmake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions