Ttf.glyph_metrics32libSDL2_ttf-2.0.so.0 to be set in LIBSDL2_TTF_SHLIB for situations where you have a debug shared. library or you don't want pkg-config invoked.Ttf.render_glyph32*Ttf.glyph_is_provided32, see https://wiki.libsdl.org/SDL2_ttf/TTF_GlyphIsProvided32LIBSLD2_PATH to be correct LIBSDL2_PATH.SDL2_ttf.dll on Windows.And 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-ttf";;
Tsdl_ttf.Ttf.init () |> ignoreStarting from 0.3, the library name is the same as the opam package name tsdl-ttf. (The library name used to be tsdl_ttf, which was confusing).
https://github.com/sanette/tsdl-ttf