Re: [PD] Tcl error for [knob] and [mknob]

2016-09-26 Thread Christof Ressi
An: pd-list Betreff: Re: [PD] Tcl error for [knob] and [mknob] ok, seems resolved now !But I had to use some tricks about dynamic symbol resolution, that should be tested on windows. Any volunteer ?.. (https://github.com/MetaluNet/moonlib)     2016-09-25 21:13 GMT+02:00 Antoine Rousseau : the pd

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-25 Thread Antoine Rousseau
m 19:21 Uhr >> > Von: "patrice colet" >> > An: pd-list@lists.iem.at >> > Betreff: Re: [PD] Tcl error for [knob] and [mknob] >> > >> > Hello, >> > >> > why not using preprocessor expression like >> > >> > #if PD_

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-25 Thread Antoine Rousseau
nntag, 25. September 2016 um 19:21 Uhr > > Von: "patrice colet" > > An: pd-list@lists.iem.at > > Betreff: Re: [PD] Tcl error for [knob] and [mknob] > > > > Hello, > > > > why not using preprocessor expression like > > > >

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-25 Thread patrice colet
trick? Le 25/09/2016 à 20:02, Christof Ressi a écrit : Because in his case, the pd version is only known at runtime. Gesendet: Sonntag, 25. September 2016 um 19:21 Uhr Von: "patrice colet" An: pd-list@lists.iem.at Betreff: Re: [PD] Tcl error for [knob] and [mknob] Hello, why not usi

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-25 Thread Christof Ressi
Because in his case, the pd version is only known at runtime. > Gesendet: Sonntag, 25. September 2016 um 19:21 Uhr > Von: "patrice colet" > An: pd-list@lists.iem.at > Betreff: Re: [PD] Tcl error for [knob] and [mknob] > > Hello, > > why not using pre

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-25 Thread patrice colet
Hello, why not using preprocessor expression like #if PD_MINOR_VERSION < 47 ... iemgui_all_loadcolors(); ... #endif ? Le 25/09/2016 à 16:25, Antoine Rousseau a écrit : Hi all in order to try making a mknob that would be compatible with any Pd version, I still have a problem, with a func

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-25 Thread Antoine Rousseau
Hi all in order to try making a mknob that would be compatible with any Pd version, I still have a problem, with a function that didn't exist prior to 0.47 (iemgui_all_loadcolors). Would someone have an idea to "hide" the call of this function when linked by an older version of Pd? Anyway I now h

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-23 Thread Billy Stiltner
> while on the subject subject of knobs, would be great to hav option for > integer snapping > its easy to do with a few objects in a patch ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-22 Thread Christof Ressi
Sorry, if I'm being obvious: I found 'sys_getversion' at the end of m_glob.c which returns major and minor version number at runtime.   Christof Gesendet: Donnerstag, 22. September 2016 um 17:56 Uhr Von: "Antoine Rousseau" An: Kein Empfänger Cc: Pd-list Betreff: Re:

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-22 Thread Antoine Rousseau
Thanks a lot ! I think I get it. I'll do it asap. 2016-09-22 17:06 GMT+02:00 IOhannes m zmoelnig : > On 2016-09-22 12:21, Antoine Rousseau wrote: > > 2016-09-22 11:03 GMT+02:00 IOhannes m zmoelnig : > > > >> On 2016-09-22 08:37, Antoine Rousseau wrote: > >>> you need > >>> to be aware of the vers

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-22 Thread IOhannes m zmoelnig
On 2016-09-22 12:21, Antoine Rousseau wrote: > 2016-09-22 11:03 GMT+02:00 IOhannes m zmoelnig : > >> On 2016-09-22 08:37, Antoine Rousseau wrote: >>> you need >>> to be aware of the version at compilation time, and have to use this >>> version at runtime. So I don't think you can build an external

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-22 Thread Antoine Rousseau
2016-09-22 11:03 GMT+02:00 IOhannes m zmoelnig : > On 2016-09-22 08:37, Antoine Rousseau wrote: > > you need > > to be aware of the version at compilation time, and have to use this > > version at runtime. So I don't think you can build an external that would > > be compatible for both versions. >

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-22 Thread IOhannes m zmoelnig
On 2016-09-22 08:37, Antoine Rousseau wrote: > you need > to be aware of the version at compilation time, and have to use this > version at runtime. So I don't think you can build an external that would > be compatible for both versions. why? amsdr IOhannes signature.asc Description: OpenPGP

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-22 Thread Christof Ressi
47). Anyway, if you need testing on Windows (for both versions of Pd), count me in!   Gesendet: Donnerstag, 22. September 2016 um 08:37 Uhr Von: "Antoine Rousseau" An: "Dan Wilcox" Cc: Pd-list Betreff: Re: [PD] Tcl error for [knob] and [mknob] to simply check the

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-21 Thread Antoine Rousseau
> > to simply check the version and call that iem color function I don't think so ; the interface of some functions has changed, so you need to be aware of the version at compilation time, and have to use this version at runtime. So I don't think you can build an external that would be compatible

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-21 Thread Dan Wilcox
> On Sep 21, 2016, at 3:40 PM, pd-list-requ...@lists.iem.at wrote: > > From: Antoine Rousseau mailto:anto...@metalu.net>> > > Thanks ! > and thanks to Dan too, pointing me directly to the right direction ! > But I realize that if I fix mknob for latest Pd it will become incompatible > with olde

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-21 Thread Christof Ressi
quot;Christof Ressi" Cc: "Antoine Rousseau" , Pd-list Betreff: Re: Re: [PD] Tcl error for [knob] and [mknob] Thanks !and thanks to Dan too, pointing me directly to the right direction !But I realize that if I fix mknob for latest Pd it will become incompatible with older ones.

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-21 Thread Antoine Rousseau
2 GMT+02:00 Christof Ressi : > Thanks a lot! By the way, mknob is just awesome! :-) > > > > Gesendet: Mittwoch, 21. September 2016 um 21:51 Uhr > Von: "Antoine Rousseau" > An: "Christof Ressi" > Cc: Pd-list > Betreff: Re: [PD] Tcl error for [knob] an

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-21 Thread Christof Ressi
Thanks a lot! By the way, mknob is just awesome! :-)     Gesendet: Mittwoch, 21. September 2016 um 21:51 Uhr Von: "Antoine Rousseau" An: "Christof Ressi" Cc: Pd-list Betreff: Re: [PD] Tcl error for [knob] and [mknob] Thanks Christof, i'll try to fix mknob soon.   2

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-21 Thread Antoine Rousseau
> Cc: pd-list@lists.iem.at > Betreff: Re: [PD] Tcl error for [knob] and [mknob] > > (reposting as I forgot to update subject line) > The color format saving & loading was updated recently: > https://github.com/pure-data/pure-data/commit/ > 6af3739b2284cfd53ad0ca8eeb2d

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-21 Thread Christof Ressi
Thanks Dan! I filed an issue on MetaluNet/moonlib.     Gesendet: Mittwoch, 21. September 2016 um 05:20 Uhr Von: "Dan Wilcox" An: "Lucas Cordiviola" Cc: pd-list@lists.iem.at Betreff: Re: [PD] Tcl error for [knob] and [mknob] (reposting as I forgot to update subject line

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-20 Thread Dan Wilcox
o:pd-list-requ...@lists.iem.at> wrote: > > From: Lucas Cordiviola mailto:lucard...@hotmail.com>> > Subject: Re: [PD] Tcl error for [knob] and [mknob] > Date: September 20, 2016 at 8:17:06 PM MDT > To: Christof Ressi mailto:christof.re...@gmx.at>>, > "pd-l..

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-20 Thread Lucas Cordiviola
on behalf of Christof Ressi Sent: Wednesday, September 21, 2016 1:58 AM To: pd-l...@iem.at Subject: Re: [PD] Tcl error for [knob] and [mknob] forgot to attach the error message... ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account

Re: [PD] Tcl error for [knob] and [mknob]

2016-09-20 Thread Christof Ressi
forgot to attach the error message... > Gesendet: Mittwoch, 21. September 2016 um 02:50 Uhr > Von: "Christof Ressi" > An: pd-l...@iem.at > Betreff: [PD] Tcl error for [knob] and [mknob] > > Hi, when I open the properties for [knob] (flatgui) or [mknob] (moonlib) in

[PD] Tcl error for [knob] and [mknob]

2016-09-20 Thread Christof Ressi
Hi, when I open the properties for [knob] (flatgui) or [mknob] (moonlib) in Pd 0.47.1, Tcl throws an error when building the color section and stops building the rest of the gui. I can still set the other properties and confirm with enter (since 'OK' and 'Apply' buttons are not drawn). However,