I realized that my system had an m_pd.h file in /usr/inlcude/pd
that didn't include CLASS_MULTICHANNEL in it. Probably from some
older installation (I compiled the latest Pd myself). Now the
object compiled (and crashed, but that's something else).
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@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...