<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">On Sun, Mar 4, 2018 at 3:41 AM, Albert Graef <a href="http://mailto:aggraef@gmail.com">aggraef@gmail.com</a> wrote:</p>
<blockquote style="margin:1.2em 0px;border-left:4px solid rgb(221,221,221);padding:0px 1em;color:rgb(119,119,119);quotes:none">
<p style="margin:0px 0px 1.2em!important">Anyway, I tried the latest flext source on Windows, and it builds in<br>msys2 (using the autoconf build system, i.e. ./bootstrap; ./configure;<br>make) but only produces static libraries there. That’s all I can say<br>right now, I didn’t yet try to build anything against it.</p>
</blockquote>
<p style="margin:0px 0px 1.2em!important">Well, I was finally able to build disis_munger~ against the latest flext and stk sources. I just ignored all those crazy flext build scripts (which don’t work in msys anyway) and rolled my own Makefile (attached) by gleaning all the compile options from the Linux build scripts. It’s compiling and linking fine, using the static flext and stk libraries.</p>
<p style="margin:0px 0px 1.2em!important">The external loads but it crashes Pd immediately (both latest Vanilla and Purr), with this message from the rt engine:</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important">free(): invalid pointer
Pd: signal 6
</code></pre><p style="margin:0px 0px 1.2em!important">gdb backtrace (running in vanilla):</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code class="hljs language-gdb" style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248) none repeat scroll 0% 0%">#0 0x00007ffff676b860 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff676cec9 in abort () from /usr/lib/libc.so.6
#2 0x00007ffff67ae437 in __libc_message () from /usr/lib/libc.so.6
#3 0x00007ffff67b478b in malloc_printerr () from /usr/lib/libc.so.6
#4 0x00007ffff67b624c in _int_free () from /usr/lib/libc.so.6
#5 0x00007fffe7932a84 in QueueFifo::~QueueFifo() ()
from /home/ag/tmp/purr-data/l2ork_addons/disis_munger/disis_munger~.pd_linux
#6 0x00007fffe7934e23 in QWork(bool, flext_base_multi*) ()
from /home/ag/tmp/purr-data/l2ork_addons/disis_munger/disis_munger~.pd_linux
#7 0x00007fffe7934ff4 in flext_base_multi::QWorker(flext_multi::thr_params*)
()
from /home/ag/tmp/purr-data/l2ork_addons/disis_munger/disis_munger~.pd_linux
#8 0x00007fffe792e33c in LaunchHelper(thr_entry*) ()
from /home/ag/tmp/purr-data/l2ork_addons/disis_munger/disis_munger~.pd_linux
#9 0x00007ffff768b08c in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007ffff682ce7f in clone () from /usr/lib/libc.so.6
</code></pre>
<p style="margin:0px 0px 1.2em!important">Same on Linux and Windows. Ico, it looks like disis_munger~ needs some tender care by someone who knows flext better than me. ;-)</p>
<p style="margin:0px 0px 1.2em!important">Albert</p>
<div title="MDH:PGRpdj5PbiBTdW4sIE1hciA0LCAyMDE4IGF0IDM6NDEgQU0sIEFsYmVydCBHcmFlZiAmbHQ7YWdn
cmFlZkBnbWFpbC5jb20mZ3Q7IHdyb3RlOjxicj4mZ3Q7IEFueXdheSwgSSB0cmllZCB0aGUgbGF0
ZXN0IGZsZXh0IHNvdXJjZSBvbiBXaW5kb3dzLCBhbmQgaXQgYnVpbGRzIGluPGJyPiZndDsgbXN5
czIgKHVzaW5nIHRoZSB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V4dF9tdWx0aTo6dGhyX3BhcmFtcyop
PGJyPiZuYnNwOyAmbmJzcDsgKCk8YnI+Jm5ic3A7ICZuYnNwO2Zyb20gL2hvbWUvYWcvdG1wL3B1
cnItZGF0YS9sMm9ya19hZGRvbnMvZGlzaXNfbXVuZ2VyL2Rpc2lzX211bmdlcn4ucGRfbGludXg8
YnI+IzggJm5ic3A7MHgwMDAwN2ZmZmU3OTJlMzNjIGluIExhdW5jaEhlbHBlcih0aHJfZW50cnkq
KSAoKTxicj4mbmJzcDsgJm5ic3A7ZnJvbSAvaG9tZS9hZy90bXAvcHVyci1kYXRhL2wyb3JrX2Fk
ZG9ucy9kaXNpc19tdW5nZXIvZGlzaXNfbXVuZ2Vyfi5wZF9saW51eDxicj4jOSAmbmJzcDsweDAw
MDA3ZmZmZjc2OGIwOGMgaW4gc3RhcnRfdGhyZWFkICgpIGZyb20gL3Vzci9saWIvbGlicHRocmVh
ZC5zby4wPGJyPiMxMCAweDAwMDA3ZmZmZjY4MmNlN2YgaW4gY2xvbmUgKCkgZnJvbSAvdXNyL2xp
Yi9saWJjLnNvLjY8YnI+fn5+PGJyPjxicj5TYW1lIG9uIExpbnV4IGFuZCBXaW5kb3dzLiBJY28s
IGl0IGxvb2tzIGxpa2UgZGlzaXNfbXVuZ2VyfiBuZWVkcyBzb21lIHRlbmRlciBjYXJlIGJ5IHNv
bWVvbmUgd2hvIGtub3dzIGZsZXh0IGJldHRlciB0aGFuIG1lLiA7LSk8YnI+PGJyPjwvZGl2PkFs
YmVydDxicj48YnI+" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0"></div></div><div class="markdown-here-signature">-- <br>Dr. Albert Gr"af<br>Computer Music Research Group, JGU Mainz, Germany<br>Email: <a href="mailto:aggraef@gmail.com">aggraef@gmail.com</a><br>WWW: <a href="https://plus.google.com/+AlbertGraef">https://plus.google.com/+AlbertGraef</a></div></div>