[PD] Grid compilation errors [solved via CVS]

derek holzer derek at x-i.net
Thu Sep 25 15:18:58 CEST 2003


hi all,

just a note: for PD version 0.36, on my machine, the CVS version 
compiled once i removed:

#include "m_pd.h"

thanks for the help,
d.


Krzysztof Czaja wrote:

> hi Yves,
>
> Yves Degoyon wrote:
> ...
> > i doubt that you can make a version compatible with 0.36 and 0.37
>
> why not -- in your project's tree include a file, say "pd_imp.h",
> with
>
> #ifdef PD_MINOR_VERSION
> #include "m_imp.h"
> #else
> <stripped down copy of m_imp.h taken from 0.36 --
>  it is frozen, after all...>
> #endif
>
> then in your extern's source file put
>
> #include "m_pd.h"
> #include "pd_imp.h"
> ...
>
> Krzysztof
>
> ...
>
>> because in 0.36, the includes were :
>>
>> #include "m_imp.h"
>> #include "g_canvas.h"
>>
>> and, in 0.37, it's :
>>
>> #include <m_pd.h>
>> #include "m_imp.h"
>> #include "g_canvas.h"
>>
>> oh and yeh, the PD_MINOR_VERSION is defined in m_pd.h of course ( 
>> haha ).
>
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>







More information about the Pd-list mailing list