[Vm-dev] FT2Plugin stops working with latest version
estebanlm at gmail.com
Mon Oct 3 14:54:58 UTC 2011
I'm coming back with this issue (yep... no time last couple of weeks, but this one is a lot better :)
I still can not compile FT2Plugin with the last changes, adding:
you know, real problem is that #generateBytesPerWord:on:indent: generates a plain "BytesPerWord"... but BytesPerWord is not defined anywhere... so I assume there is something I'm missing, but I don't know why.
In other things, I'm determined to produce a beta release this week. As far as I know, I just need to solve some minor issues:
1) this FT2Plugin issue
2) externalize OSProcess (yes... I don´t like to have it as an internal plugin)
3) a stupid issue with localization strings (just used on open images)
and I don't think anything else :)
so... if you help me with this issue... you will make me very happy :D
El 19/09/2011, a las 5:27p.m., David T. Lewis escribió:
> I am away so I cannot look at the code right now, but in the oscog
> VMMaker you should still have BytesPerWord implemented as a class
> variable (or pool variable?), and this would be a C macro in the
> generated code. In the plugin, we use "self bytesPerWord" rather
> than a reference to the BytesPerWord class variable (because
> BytesPerWord does not exist in the trunk 32/64 bit code generation).
> In VMMaker trunk, "self bytesPerWord" is translated to the C macro
> "BYTES_PER_WORD". In oscog VMMaker, it is translated to "BytesPerWord"
> which also happens to be a C macro. This works on both branches of
> If this is not working for you, let me know the specific VMMaker
> and FT2Plugin MCZs that you have loaded, and I will try to reproduce
> this when I get home (about 8 hours from now).
> On Mon, Sep 19, 2011 at 05:12:56PM -0300, Esteban Lorenzano wrote:
>> now I have errors on FT2Plugin.c (it calls BytesPerWorld... and it does not exist....) what I'm missing? :(
>> (I'm feeling sooooo dumb today...)
>> El 19/09/2011, a las 3:50p.m., David T. Lewis escribi?:
>>> On Mon, Sep 19, 2011 at 09:45:25AM -0300, Esteban Lorenzano wrote:
>>>> I'm trying to build freetype plugin with latest version (Freetype-Plugin-dtl.63), and it is not working... and using Igor's version (61) it is working fine... unique change between 61 and 63 is:
>>>> "Answer the size of an object pointer in bytes."
>>>> ...so... something is wrong with that change... or with my attempts to understand it :P
>>>> maybe I'm missing some initialization?
>>> Hi Esteban,
>>> You are missing the code generation patch, which is in VMMaker-oscog-dtl.124.
>>> This has not yet been merged into the main oscog branch, so you will need to
>>> merge it yourself before building the Freetype plugin.
>>> The changes are here:
>>> And background is in this thread:
More information about the Vm-dev