pharo-libsdl3

Description

Pharo bindings for https://www.libsdl.org/

Details

Source
GitHub
Dialect
pharo (65% confidence)
License
MIT
Stars
1
Forks
1
Created
Jan. 21, 2026
Updated
Jan. 29, 2026
Topics
libsdl3 pharo

README excerpt

# pharo-libsdl3
Pharo bindings for https://www.libsdl.org/

The generation recipe can be found at the class comment of [LibSDL3 class](https://github.com/pharo-cig/pharo-libsdl3/blob/main/src/SDL3/LibSDL3.class.st).

## Install

In Pharo 14, evaluate:
```smalltalk
Metacello new
	baseline: 'SDL3';
	repository: 'github://pharo-cig/pharo-libsdl3:main';
	load
```
and make SDL3 shared library findable by either `macLibraryName`, `unix64LibraryName` or `win32LibraryName` methods in [LibSDL3](https://github.com/pharo-cig/pharo-libsdl3/blob/main/src/SDL3/LibSDL3.class.st) class.

Note: Pharo 13 requires previous installation of updated 
https://github.com/pharo-cig/UnifiedFFI

## Testing

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 `_test02CreateWindow` to test opening a window. It crashes on my machine!
← Back to results