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

Music isn't played at all and some keys (the left arrow, escape key, maybe others) aren't registered as being pressed at all. #9

Closed
maximAtanasov opened this issue Apr 28, 2018 · 2 comments
Labels

Comments

@maximAtanasov
Copy link
Owner

maximAtanasov commented Apr 28, 2018

For me the issue only appears on Ubuntu/Kubuntu 18.04. Ubuntu 16.04 works fine. Could be something wrong with the new sdl2 updates.

@maximAtanasov
Copy link
Owner Author

The issue is caused by Lua not properly (well at all really) supporting 64 bit integers (size_t), so sharing hashed values between Lua and c++ is unreliable. The bug likely appeared due to a change in the std::hash algorithm in newer versions of gcc and clang.

maximAtanasov pushed a commit that referenced this issue Aug 28, 2018
@maximAtanasov
Copy link
Owner Author

Issue appears after upgrading lua to version 5.3.3+ (maybe even lower).
Everything works fine with Lua 5.3.0. It is now packaged and built along with the main project, so this is fixed.

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

No branches or pull requests

1 participant