yes, SDL2 is still not migrated (we changed FFI infrastructure). I already have the fix, but I didnât have the time to integrate it :( Esteban
On 24 Jan 2016, at 18:24, Edwin Ancaer <eancaer@gmail.com> wrote:
I downloaded Pharo5.
Re-executing
| ex | ex := SDL2Example new. ex osWindow.
now gives :
Subclassresponsability: SDL class has the responsability to implment #f
in the method
ffiLibraryName self flag: 'HACK: avoid direct subclassResponsibility to not break RB test cases..'. ^ SubclassResponsibility signalFor: thisContext selector
Seems like I should have implemeted something myself.
Can any one point me in the right direction?
2016-01-24 10:39 GMT+01:00 Clément Bera <bera.clement@gmail.com <mailto:bera.clement@gmail.com>>: Yeah I did in in early version of Pharo 5 (50155).
2016-01-24 10:10 GMT+01:00 stepharo <stepharo@free.fr <mailto:stepharo@free.fr>>: the support for SDL2.0 should be better in Pharo50 (even if due to ffi changes and new objcte format we may have some glitches).
Le 23/1/16 22:45, Edwin Ancaer a écrit : I'm not a smalltalk expert, but from time to time I like to do some experiments.
Recently, we talked about making a small 2D-Game, to do something else than a traditional CRUD database application.
cool you can ask clement bera because he did a bomberman using SDL2 now I guess that it was in Pharo 50.
I downloaded pharo 4.0 for Linux (the default version). My OS version is 3.13.0-46-generic #79-Ubuntu:
Then I installed SDL2 with apt-get. All seemed to he OK.
I started pharo, and executed the following code in the playground:
|ex | ex := SDL2Example new . ex osWindow .
I got an error: Failed to find SDL2 library. , Should I have been doing some extra initialization to load the library in Pharo, or is there something else that I forgot to do?
Kind regards
Edwin