-
-
Notifications
You must be signed in to change notification settings - Fork 20
Unable to find SDL on Ubuntu 22.04 #78
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
Comments
I'm using NixOS but, I think that solution could may be the same so I don't want to open another request. I have a nix shell file like below,
After shell init here is my libraries about SDL2
And here is sdl2-config output
Btw, I couldn't run demos... And here is my error message
Thanks in advance... |
Well... I just rewrite my shell.nix through README today and sharing
Hope this helps somebody.... |
Hello @stuartlangridge, I hope you are still trying to run the flappybird game ^^ Basead on your log uou can easily just do something like this:
This library from some reason expects the SDL2_PATH to be config up front instead of searching for it inside of the OS You can see more details here: https://github.com/littledivy/deno_sdl2/blob/main/mod.ts#L13 |
@littledivy Can we fix the try/catch to in case https://github.com/littledivy/deno_sdl2/blob/main/mod.ts#L17C3-L17C59 I can work on the PR, thanks in advance |
Sadly this doesn't seem to work, still, although it's closer:
and this is because it seems to be looking for |
I tried running https://github.com/littledivy/flappybird on Ubuntu 22.04 with the following result:
The deno people suggested in https://fosstodon.org/@deno_land/113108106611366244 that this looks like a bug in this library, and I should file it here, so here it is.
The text was updated successfully, but these errors were encountered: