<div dir="ltr"><div><div>Thanks Christof !<br> I think you can upload your bin to deken, specifying Pd >= 0.47. <br></div>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.<br></div>sorry I have really poor availability these days...<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-03 1:37 GMT+02:00 Christof Ressi <span dir="ltr"><<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I changed the defines to:<br>
<br>
#ifdef _WIN32<br>
#include <io.h><br>
#include <Windows.h><br>
#else<br>
#include <unistd.h><br>
#include <dlfcn.h><br>
#endif<br>
<br>
<Windows.h> was missing and <dlfcn.h> should be UNIX only. Then the code finally compiled on my Windows machine.<br>
<br>
However, the Tcl error was still present (see screenshot).<br>
<br>
Since I'm only using Pd >= 47, I skipped the DLL loading mechanism in check_compat() and just wrote:<br>
<br>
iemgui_all_loadcolors_p = &iemgui_all_loadcolors<br>
<br>
Now [mknob] is finally working again for me - thanks to Antoine and IOhannes!!!.<br>
<br>
My question is now: Should I upload my Windows binaries to deken, with a notice that it only works for Pd >= 47<br>
OR shall we wait for a solution which works for both old and new versions of Pd?<br>
<br>
Christof<br>
<br>
<br>
> Gesendet: Sonntag, 02. Oktober 2016 um 21:12 Uhr<br>
> Von: "Christof Ressi" <<a href="mailto:christof.ressi@gmx.at">christof.ressi@gmx.at</a>><br>
> An: Pd-List <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>><br>
> Betreff: [PD] knob (again)<br>
<div class="HOEnZb"><div class="h5">><br>
> Hi list,<br>
><br>
> are there any people who can help to make [mknob] (and [knob]) build on windows? Here's the issue:<br>
> <a href="https://github.com/MetaluNet/moonlib/issues/4" rel="noreferrer" target="_blank">https://github.com/MetaluNet/<wbr>moonlib/issues/4</a><br>
><br>
> Is [mknob] at least working on OSX and linux?<br>
><br>
> 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?<br>
><br>
> Christof<br>
><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
> </div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif"> Antoine Rousseau </font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">  <a href="http://metalu.net" target="_blank">http://www.metalu.net</a> __ <a href="http://www.metaluachahuter.com/compagnies/al1-ant1/" target="_blank">http://www.metaluachahuter.com/</a><br><br></font></div></div></div></div></div>
</div>