No problem! I'll have a look at the dll stuff myself. maybe I can figure it out when I have some spare time. since I'm on a windows machine, testing is easy.
Can anyone tell me how to manually upload a deken package to puredata.info? I can't get the deken commandline tool to work on Windows (msys2)...
Gesendet: Montag, 03. Oktober 2016 um 08:48 Uhr Von: "Antoine Rousseau" antoine@metalu.net An: "Christof Ressi" christof.ressi@gmx.at Cc: Pd-List pd-list@lists.iem.at, "Antoine Rousseau" antoine@metalu.net Betreff: Re: Fw: [PD] knob (again)
Thanks Christof ! I think you can upload your bin to deken, specifying Pd >= 0.47.I think check_compat could work for windows if we managed to include the right files ; anyway having a version working only for latest Pd should be enough for now.sorry I have really poor availability these days... 2016-10-03 1:37 GMT+02:00 Christof Ressi <christof.ressi@gmx.at[mailto:christof.ressi@gmx.at]>:I changed the defines to:
#ifdef _WIN32 #include <io.h> #include <Windows.h> #else #include <unistd.h> #include <dlfcn.h> #endif
<Windows.h> was missing and <dlfcn.h> should be UNIX only. Then the code finally compiled on my Windows machine.
However, the Tcl error was still present (see screenshot).
Since I'm only using Pd >= 47, I skipped the DLL loading mechanism in check_compat() and just wrote:
iemgui_all_loadcolors_p = &iemgui_all_loadcolors
Now [mknob] is finally working again for me - thanks to Antoine and IOhannes!!!.
My question is now: Should I upload my Windows binaries to deken, with a notice that it only works for Pd >= 47 OR shall we wait for a solution which works for both old and new versions of Pd?
Christof
Gesendet: Sonntag, 02. Oktober 2016 um 21:12 Uhr Von: "Christof Ressi" <christof.ressi@gmx.at[mailto:christof.ressi@gmx.at]> An: Pd-List <pd-list@lists.iem.at[mailto:pd-list@lists.iem.at]> Betreff: [PD] knob (again)
Hi list,
are there any people who can help to make [mknob] (and [knob]) build on windows? Here's the issue: https://github.com/MetaluNet/moonlib/issues/4%5Bhttps://github.com/MetaluNet...]
Is [mknob] at least working on OSX and linux?
Right know I'm working on a new project and I need knob GUIs. I managed to hack something together with data structures, but I'd prefer to use good old [knob] or [mknob]. Knobs have been used in quite a lot of projects and it's shame that they won't work on recent versions of Pd right know. I can try myself to repair it (since we know the cause and possible solutions) but my C skills are not exactly amazing. Maybe we can join forces to repair these objects?
Christof
Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/l...]
--
Antoine Rousseau http://www.metalu.net%5Bhttp://metalu.net%5D%C2%A0__%C2%A0http://www.metalua...]