On Sat, May 19, 2018 at 1:37 PM, Peter Uhn��k <i.uhnak@gmail.com> wrote:
Hi,

some Windows users are repeatedly running into Pharo failing to load Cairo library on Windows (see stack screenshot at the bottom).

The problem is that I have no idea how to even start debugging this.

Is there some documentation on how Pharo loads libraries via FFI on Windows that I can start digging into?

Note that the library is definitely present, as this happens only occasionally -- it can be fixed by restarting PC. But I cannot reasonably ask users to restart just because Pharo decided it doesn't feel like loading a library.

Any pointers / docs / ideas appreciated.

You can see the actual code from��

https://github.com/OpenSmalltalk/opensmalltalk-vm/search?utf8=%E2%9C%93&q=findAndLoadModule%28char+*pluginName%2C+sqInt+ffiLoad%29&type=

?
��

Thanks,
Peter






--

������

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr


Web: http://guillep.github.io

Phone: +33 06 52 70 66 13