On 7 Dec 2017, at 16:04, Steven Costiou <steven.costiou@kloum.io> wrote:
Hi,
noob question: i installed bloc and tried to run examples.
It worked well on Fedora 27 but not on latest Debian 64 bits because the path of libcairo.so.2 was wrong.
So i fixed it in the code, but when trying the bloc examples again the lib path is still wrong (in the debugger).
Is there a way to reload the cairo lib or to reset it, so that the path would be right and it would find the lib ?
I've also been frustrated by this, particularly as a supa-fresh-FFI-noob
before I understood what was happening. I've found it a minor annoyance but sufficient to to close and reopen an image to reset things, but being able to do it live in-Image is really nice. On 7 December 2017 at 23:41, Esteban Lorenzano <estebanlm@gmail.com> wrote:
you need to reset FFI:
FFIMethodRegistry resetAll.
That is really nice to know, but by the time I need it I will probably have forgotten it, and closing/reopening the Image will be faster than searching forum.world.st or asking again the mail list. Could we possibly have World > Tools > Reset FFI ? cheers -ben