On Wed, Jun 14, 2017 at 12:38 AM, Daniel Passaro <[email protected]>
wrote:

> I'm a Pharo newbie. How can I use libraries like SDL2 or GTK+ from Pharo?
> Should this be done through FFI or a VM plugin?  And in either case is
> there a guide to how to implement things using that technique?
>

I'm nto familiar with the interface from Pharo, but I believe the dark
window opened in this video...
  https://www.youtube.com/watch?v=lABfEmToHLQ
is a native window via SDL2, outside of the standard Pharo window - if that
is what you are lookign for.

Probably FFI is the easier path. Its how Pharo uses SDL2. There is an
incomplete tutorial here...
  http://blog.openinworld.com/2016/09/pharo-libclang-ffi-part-1-preamble/

btw, I just noticed the "UniffiedFFI chapter" link from that post has
broke. I guess the doc has moved here...
  https://github.com/SquareBracketAssociates/Booklet-uFFI
but I can't find a PDF there.

cheers -ben

Reply via email to