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

Christof Ressi christof.ressi at gmx.at
Thu Sep 22 10:48:39 CEST 2016


you're right, but with some #ifdefs, at least the source can be compatible with both versions. building from source will then always work. regarding binaries and deken packages, you would have to do it twice, though. Maybe just give a little hint in the name? (>= Pd.047 resp. < Pd 0.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" <antoine at metalu.net>
An: "Dan Wilcox" <danomatika at gmail.com>
Cc: Pd-list <pd-list at lists.iem.at>
Betreff: Re: [PD] Tcl error for [knob] and [mknob]

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 for both versions.
 
 
2016-09-22 0:22 GMT+02:00 Dan Wilcox <danomatika at gmail.com>:

On Sep 21, 2016, at 3:40 PM, pd-list-request at lists.iem.at[pd-list-request at lists.iem.at] wrote: 

From: Antoine Rousseau <antoine at metalu.net[antoine at 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 older ones…I believe the changes handle saving and loading based on the compatibility mode, so you should be able to simply check the version and call that iem color function in versions of pd less than 0.48.
 

--------
Dan Wilcox
@danomatika[https://twitter.com/danomatika]
danomatika.com[http://danomatika.com]
robotcowboy.com[http://robotcowboy.com]
 


--

Antoine Rousseau 
  http://www.metalu.net[http://metalu.net] __ http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/]
 _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]



More information about the Pd-list mailing list