Skip to content

Are examples supposed to work on linux? #204

@MaciekFlis

Description

@MaciekFlis

When trying to run examples on linux I get following error:

$> stack exec lazyfoo-lesson-03

lazyfoo-lesson-03: SDLCallFailed {sdlExceptionCaller = "SDL.Video.updateWindowSurface", sdlFunction = "SDL_UpdateWindowSurface", sdlExceptionError = "Window surface is invalid, please call SDL_GetWindowSurface() to get a new surface"}

these run just fine on my windows machine.

I'm using stack 1.9.3, and libsdl2 from my package manager (ubuntu 18.4), which is I think 2.0.8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions