[PD] Fw: knob (again)

Christof Ressi christof.ressi at gmx.at
Mon Oct 3 19:15:53 CEST 2016

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 at metalu.net>
An: "Christof Ressi" <christof.ressi at gmx.at>
Cc: Pd-List <pd-list at lists.iem.at>, "Antoine Rousseau" <antoine at 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 at gmx.at[mailto:christof.ressi at gmx.at]>:I changed the defines to:

#ifdef _WIN32
#include <io.h>
#include <Windows.h>
#include <unistd.h>
#include <dlfcn.h>

<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?


> Gesendet: Sonntag, 02. Oktober 2016 um 21:12 Uhr
> Von: "Christof Ressi" <christof.ressi at gmx.at[mailto:christof.ressi at gmx.at]>
> An: Pd-List <pd-list at lists.iem.at[mailto:pd-list at 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[https://github.com/MetaluNet/moonlib/issues/4]
> 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 at lists.iem.at[mailto: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]


Antoine Rousseau 
  http://www.metalu.net[http://metalu.net] __ http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/]

More information about the Pd-list mailing list