Re: [Pharo-users] reloading ffi library

2017-12-08 Thread Esteban Lorenzano
> On 7 Dec 2017, at 17:43, Ben Coman wrote: > > >> On 7 Dec 2017, at 16:04, Steven Costiou > > 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 >>

Re: [Pharo-users] reloading ffi library

2017-12-08 Thread Ben Coman
On 8 December 2017 at 03:40, Stephane Ducasse wrote: > Thanks Ben. > I have a question. Would it make sense to have a setting to reset on > each session the registry? > Naively I'd presume it must always do this to cover: * the OS upgrading libraries * moving images between OS platforms and drop

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Stephane Ducasse
Thanks Ben. I have a question. Would it make sense to have a setting to reset on each session the registry? What you should know is that Guille is actively improving (refactoring, rethinking the API of iceberg) to produce a better UI then. We are really concerned how we can get the same confort th

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Steven Costiou
Thanks :) Will try it :) Le 2017-12-07 16:41, Esteban Lorenzano a écrit : > you need to reset FFI: > > FFIMethodRegistry resetAll. > > Esteban > >> On 7 Dec 2017, at 16:04, Steven Costiou wrote: >> >> Hi, >> >> noob question: i installed bloc and tried to run examples. >> >> It wo

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Ben Coman
On 8 December 2017 at 00:43, Ben Coman wrote: >> >> >> On 7 Dec 2017, at 16:04, Steven Costiou 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. >> >

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Ben Coman
> > > On 7 Dec 2017, at 16:04, Steven Costiou 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 exampl

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Esteban Lorenzano
you need to reset FFI: FFIMethodRegistry resetAll. Esteban > On 7 Dec 2017, at 16:04, Steven Costiou 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.

[Pharo-users] reloading ffi library

2017-12-07 Thread Steven Costiou
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