[PD-dev] snake_in~ tutorial?

Alexandros Drymonitis adrcki at gmail.com
Mon Sep 11 10:07:37 CEST 2023


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...
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20230911/25c78722/attachment.htm>


More information about the Pd-dev mailing list