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...
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).
On 9/11/23 11:07, Alexandros Drymonitis 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@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...
Seems you’re finding an old header somehow
On Mon, 11 Sep 2023 at 05:08 Alexandros Drymonitis adrcki@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@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@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Yup, that was it. I already sent an email to this thread mentioning that I found the culprit.
On 9/11/23 16:34, Alexandre Torres Porres wrote:
Seems you’re finding an old header somehow
On Mon, 11 Sep 2023 at 05:08 Alexandros Drymonitis adrcki@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@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@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
anyway, I also had a mistake in one of my messages, I was referring to a screenshot and it didn't go through
For the record, I was trying to point these objects as simple multichannel tools that could be good for other people start messing with MC fun.
[image: Screen Shot 2023-09-10 at 16.29.24.png]
Em seg., 11 de set. de 2023 às 10:36, Alexandros Drymonitis < adrcki@gmail.com> escreveu:
Yup, that was it. I already sent an email to this thread mentioning that I found the culprit. On 9/11/23 16:34, Alexandre Torres Porres wrote:
Seems you’re finding an old header somehow
On Mon, 11 Sep 2023 at 05:08 Alexandros Drymonitis adrcki@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@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@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev