Skip to content

pharo-cig/pharo-libsdl3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pharo-libsdl3

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

The generation recipe can be found at the class comment of LibSDL3 class.

Install

In Pharo 14, evaluate:

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 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!

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors