[PD] pd~ binary for max/msp

Antoine Villeret antoine.villeret at gmail.com
Wed Jan 29 11:23:22 CET 2020


> most redefinition are a conflict between liboscia and m_pd.h

I don't think so, libossia appears in the log because this is where the
max-sdk is and that's all.
If I move the max-sdk to another folder I got exactly the same redefinition
errors.

> But I don't know if m_ph.h should be included
> but it's included from "binarymsg.c" (pd~.c, line 104)

So we need to include it.

The name clashes comes from Max/Pd common root.
It uses some common symbol from the very beginning but there definition are
not exactly the same.
Some frameworks used to tackle this in the past (CicmWrapper, flext...) but
I don't have enough time to dig deeper into that for now sorry.

+
a


Le mer. 29 janv. 2020 à 11:03, cyrille henry <ch at chnry.net> a écrit :

> most redefinition are a conflict between liboscia and m_pd.h
> I would try to remove liboscia from your compilled path.
>
> But I don't know if m_ph.h should be included :
> it is removed for max from pd~ source thanks to a #define line 54 :
> #ifdef PD
> #include "m_pd.h"
> #include "s_stuff.h"
> static t_class *pd_tilde_class;
> #define PDERROR pd_error(x,
> #endif
>
> but it's included from "binarymsg.c" (pd~.c, line 104)
>
> cheers
> c
>
>
> Le 29/01/2020 à 10:04, Antoine Villeret a écrit :
> > Hi,
> >
> > I just give a try without much success.
> > There are lots of symbol redefinition errors.
> > Here is the full output :
> https://gist.github.com/avilleret/19bfb74c84cc49b27bd8610545748044
> > I need some hint to go further with this.
> >
> > Cheers
> >
> > a
> >
> >
> > Le mar. 28 janv. 2020 à 09:52, Alexandre Torres Porres <porres at gmail.com
> <mailto:porres at gmail.com>> a écrit :
> >
> >
> >
> >     Em dom., 26 de jan. de 2020 às 08:58, Miller Puckette via Pd-list <
> pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>> escreveu:
> >
> >         I was doing that for a while but stopped (it was a lot of
> trouble tracking all
> >         the changes in MacOS and Max at the time; perhaps this is easier
> now).  I
> >         won't be able to get to a Mac with Max until later this week,
> but if nobody
> >         else can do it first I can give it a try.
> >
> >         It's a fun object - you can pretend to be using Max but do the
> heavy lifting
> >         in Pd - you can use GEM, etc., too.)
> >
> >
> >     I always thought this was an amazing idea, would love to try it out!
> >     _______________________________________________
> >     Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> >     UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> >
> >
> > _______________________________________________
> > Pd-list at lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> >
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200129/837ca717/attachment.html>


More information about the Pd-list mailing list