How to compile a plugin on MacOSX?
David T. Lewis
lewis at mail.msen.com
Mon Jul 26 23:20:56 UTC 2004
On Mon, Jul 26, 2004 at 03:41:46PM +0200, Alexandre Bergel wrote:
>
> I succeeded to generate the .lo and .la files corresponding to the plugin. I put this file in the same folder of the Squeak 3.7.1Beta2.1.app VM and I try the following:
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> TestPlugin>>answerSeventeen2
> <primitive: 'answerSeventeen' module: 'ClassboxPlugin'>
> self primitiveFailed
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> The primitive fail...
>
> Any help appreciated.
Make sure that your ClassboxPlugin>>answerSeventeen method includes the line:
self export: true
Otherwise Squeak will not find your primitive and the TestPlugin>>answerSeventeen2
method will fail.
Dave
More information about the Squeak-dev
mailing list
|