Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are examples supposed to work on linux? #204

Open
MaciekFlis opened this issue Sep 18, 2019 · 1 comment
Open

Are examples supposed to work on linux? #204

MaciekFlis opened this issue Sep 18, 2019 · 1 comment

Comments

@MaciekFlis
Copy link

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

@dpwiz
Copy link
Member

dpwiz commented Mar 10, 2022

Works on ubuntu 21.10 with 2.0.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants