[Pharo-users] OSWindowSDL2

stepharo stepharo at free.fr
Sun Jan 24 04:10:32 EST 2016


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
>





More information about the Pharo-users mailing list