LIBSLD2_PATH to be correct LIBSDL2_PATHSDL2_image.dll on WindowsAnd add workflow for github actions for testing dynamic libraries from bytecode.
You can now (again) directly run a "toplevel file" with ocaml, for instance
#use "topfind";;
#thread;;
#require "tsdl-image";;
Tsdl_image.Image.(init Init.empty) |> ignoreThanks @anentropic for reporting on MacOS.
Starting from 0.3, the library name is the same as the opam package name tsdl-image. (The library name used to be tsdl_image, which was confusing).
https://github.com/sanette/tsdl-image