Pharo bindings for https://www.libsdl.org/
The generation recipe can be found at the class comment of LibSDL3 class.
In Pharo 14, evaluate:
Metacello new
baseline: 'SDL3';
repository: 'github://pharo-cig/pharo-libsdl3:main';
loadand make SDL3 shared library findable by either macLibraryName, unix64LibraryName or win32LibraryName methods in LibSDL3 class.
Note: Pharo 13 requires previous installation of updated https://github.com/pharo-cig/UnifiedFFI
Open Iceberg and manually load SDL3-Tests package.
Notes:
- Enumerations are not autoamtically initialize on load, so evaluate:
S3Enumeration subclassesDo: [ :each | each initializeEnumeration ]. - Remove underscore from
_test02CreateWindowto test opening a window. It crashes on my machine!