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



Reply via email to