Still, in Pharo6 the absense of changes and sources files means also that
FFI calls cannot be done.
UFFI uses the method source code to map arguments, and if no source code is
available, FFI calls cannot be resolved.

This is solved in Pharo7 thanks to Vincent Blondeau by embedding argument
names into the method (and thus not requiring source code anymore).

If you need it, you can take the FFICompilerPlugin class +
(RBMethodNode>>ensureCachedArgumentNames) from Pharo7 and try to backport
them on your Pharo6 installation.

On Tue, Nov 13, 2018 at 4:29 PM Sven Van Caekenberghe <s...@stfx.eu> wrote:

> Hi Hans,
>
> Did you see (read the class comment) of NoPharoFilesOpener and
> NoChangesLog ?
>
> Sven
>
> > On 13 Nov 2018, at 16:19, Baveco, Hans <hans.bav...@wur.nl> wrote:
> >
> > I have a pharo 6.1 image (based on the Moose 6.1 image) containing a
> small application. I would like to distribute this without the source code.
> When I run the application with the changes file present all is fine. When
> running with the changes file removed, it mostly works ok but apparently
> the functionality for e.g. creating png (linked to Cairo?) is not
> available. The log file is attached.
> >
> > Now looking a bit further into this I observed that in fact all the 6.1
> images I work with seem to have this same problem, e.g. when displaying
> Roassal graphs they display the red windows with crosses.
> >
> > Is this option to run without a changes files supposed to work in 6.1
> (on windows)? What should I do to make it work? (noticed that there is no
> setting anymore for this)
> >
> > Hans
> > <PharoDebug.log>
>
>
>

-- 



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
<http://www.cnrs.fr>*


*Web:* *http://guillep.github.io* <http://guillep.github.io>

*Phone: *+33 06 52 70 66 13

Reply via email to