-
Notifications
You must be signed in to change notification settings - Fork 5
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
sMEMORY64 build fails with UTF8ToString expects a number
error
#16
Comments
I am not familiar with this flag. I will have to investigate. Thanks for reporting. Out of curiosity, did you try using the GLFW3 that is part of Emscripten ( |
No I haven't tried the built-in glfw3.
Mainly multi-window, clipboard, gamepad, and window size constraints. It's just experimentation for now tho, nothing production critical. Thank you for taking a look! And thank you for this port 🙌! |
I pushed a branch which adds the function signatures as Sam described. I have simply done a cursory test to make sure it doesn't break the normal case but I did not test memory64 (as I ran out of time), but wanted to give you a chance to try it on your side to see if that fixes your issue. I will test it more thoroughly when I have time in the next few days. |
That seems to have worked, thank you! I had to update the cmake file
|
I am trying to build in "64-bit mode", so added
-sMEMORY64
to my project (both compile and link flags), and manually edited a local copy of emscripten-glfw to add these flags to its build. Everything builds fine. I load it up in the browser with apython -m http.server
, I get thisRelated discussion
The text was updated successfully, but these errors were encountered: