[PD] Re: Grid compilation errors

derek holzer derek at x-i.net
Thu Sep 25 04:02:07 CEST 2003


yves,

are you sure that is everything?
i still get:

grid.c: In function 'grid_draw_new':
grid.c:97: too few arguments to function 'rtext_new'

nice to see somebody else is up late with this stuff ;-)
d.


Yves Degoyon wrote:

> hi,
>
> derek at x-i.net wrote:
>
>> hi yves,
>>
>> i've got some compilation errors for Grid.
>> using Redhat 9.0 on this box, with Planet CCRMA packages. PD 0.36.0
>>
>> errors below. as a side note, compiling on my Debian laptop gives an 
>> equally
>> long string of errors, mostly "parse error before [...]".
>>
>> anything that anybody can do about this? is this release of the 
>> object already
>> dependent on pd 0.37?
>>  
>>
> yes, that's exactly the problem,
> remove the following line :
>
> #include "m_pd.h"
>
> and change :
>
> class_setwidget(grid_class, &grid_widgetbehavior);
> class_setpropertiesfn(grid_class, grid_properties);
> class_setsavefn(grid_class, grid_save);
>
> with :
>
> grid_widgetbehavior.w_propertiesfn = grid_properties;
> grid_widgetbehavior.w_savefn = grid_save;
> class_setwidget(grid_class, &grid_widgetbehavior);
>
> cheers,
> sevy
>
>







More information about the Pd-list mailing list