Cannot initialize sdl2 from the main function #382
seguidor777
started this conversation in
General
Replies: 1 comment
-
Just vague recollections of using SDL2, but the C API used to do some funky things with redefining Forgive me for asking though; is the sdl2 crate a sys wrapper around the SDL2 C library? If so I can't help but guess you might be unintentionally adding quite a bit more complexity to the system than by setting up the SDL main loop via a C main function using the original |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm facing the following issue,
When I try to initialize sdl2 from my main function, the project compiles without errors.
But when I run it, I can see that it fails in the sdl2 init call.
lib.rs
These are the entries that I'm seeing in logcat:
Please let me know if you need additional details. Thanks
Beta Was this translation helpful? Give feedback.
All reactions