[Pharo-users] OSWindowSDL2

Ben Coman btc at openinworld.com
Sat Jan 23 20:29:17 EST 2016


Maybe the SDL version installed was 64-bit, and you need to 32-bit one.

Try something like
    sudo apt-get install  $LIB:i386

I presume...
$ sudo dpkg --add-architecture i386
is already done.

cheers -ben

On Sun, Jan 24, 2016 at 5:45 AM, Edwin Ancaer <eancaer at gmail.com> wrote:
> 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.
>
> 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