[PD-dev] snake_in~ tutorial?

Alexandre Torres Porres porres at gmail.com
Mon Sep 11 15:34:28 CEST 2023


Seems you’re finding an old header somehow

On Mon, 11 Sep 2023 at 05:08 Alexandros Drymonitis <adrcki at gmail.com> wrote:

> Thanks, I got all the info I need. Now I'm running into this strange
> error, by using the following line in the setup function:
>
> ```
> var_io_snake_tilde_class = class_new(gensym("var_io_snake~"),
> (t_newmethod)var_io_snake_tilde_new,  (t_method)var_io_snake_tilde_free,
> sizeof(t_var_io_snake_tilde), CLASS_MULTICHANNEL, A_DEFFLOAT, 0);
> ```
>
> The error is the following:
>
> ```
> var_io_snake~.c:85:82: error: ‘CLASS_MULTICHANNEL’ undeclared (first use
> in this function)
>    85 |                 (t_method)var_io_snake_tilde_free,
> sizeof(t_var_io_snake_tilde), CLASS_MULTICHANNEL, A_DEFFLOAT, 0);
>
> ```
>
> I'm #including m_pd.h (I mean, it's finding the rest of the Pd API stuff
> I'm using there), and CLASS_MULTICHANNEL is in that file, so why do I get
> this error?
> On 9/10/23 22:32, Alexandre Torres Porres wrote:
>
> Em dom., 10 de set. de 2023 às 16:30, Alexandre Torres Porres <
> porres at gmail.com> escreveu:
>
>> check these objects, they perform simple tasks and maybe one of them
>> helps you with what you want...
>>
>
> oops, I meant to send this image here...
>
>
>
>
>
>
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20230911/b8e410cf/attachment.htm>


More information about the Pd-dev mailing list