Closed cacilhas closed 3 years ago
Hi, there is probably a mismatch between the version of SDL2 and the OCamlSDL2 bindings. There are 2 solutions in this case, either you install a more recent version of SDL2, or an older version of the ocaml bindings. A third solution is also to edit the source code file "sdlevent_stub.c" and remove the identifiers that don't exist in the headers of the SDL2 version that you're using.
If you like doing some packaging you can also help embedding the matching versions of SDL2 in the Opam packages. In the past it was not allowed in Opam, but today the Raylib package does so. We could probably do the same now for this binding.
I updated the SDL2 to version 2.0.14. After that, I was able to install OCamlSDL2.
Thanks!!
Every time I try to install OCamlSDL2, the output is:
ocamlsdl2-15511-ad8886.out.gz