<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt">Flext documentation implies that the vanilla source includes a pthreads.h file which<br>hasn't been true for some time.<br><br>Is there some workaround when using mingw to build flext, or do I have to go down<br>another rabbit hole and install this:<br><br>http://www.mingw.org/wiki/pthreads_library<br><br>Thanks,<br>-Jonathan<br><div><span><br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> dreamer &lt;dreamer@puikheid.nl&gt;<br> <b><span style="font-weight: bold;">To:</span></b>
 dreamer &lt;dreamer@puikheid.nl&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> PD-List &lt;pd-list@iem.at&gt;; Joćo Pais &lt;jmmmpais@googlemail.com&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, April 30, 2013 1:30 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [PD] Small work offer: Help to compile an external in windows<br> </font> </div> <div class="y_msg_container"><br><div id="yiv0850260424"><div dir="ltr"><div>Still no clue how you would have to do this on windows, but on linux I figured it out:<br><br><a rel="nofollow" target="_blank" href="https://github.com/chikashimiyama/Pd_leapmotion/issues/1#issuecomment-17240397">https://github.com/chikashimiyama/Pd_leapmotion/issues/1#issuecomment-17240397</a><br>
<br></div>It works and 'does things'. Now slowly trying to figure out how to make sense of the data :)<br></div><div class="yiv0850260424gmail_extra"><br><br><div class="yiv0850260424gmail_quote">On Tue, Apr 30, 2013 at 12:15 PM, dreamer <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:dreamer@puikheid.nl" target="_blank" href="mailto:dreamer@puikheid.nl">dreamer@puikheid.nl</a>&gt;</span> wrote:<br>
<blockquote class="yiv0850260424gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><div>I just tried building the external on linux.<br>Unfortunately when I load the object I get: leapmotion.pd_linux: undefined symbol: _ZN17flext_root_singlenwEj'<br>
</div><br><div class="yiv0850260424gmail_extra">I have neven used flext before, so I have no idea what causes this. If anyone can comment on this.<br>
<br><br></div><div class="yiv0850260424gmail_extra">Just to recap, this is what I did:<br>svn co <a rel="nofollow" target="_blank" href="https://svn.grrrr.org/ext/trunk/flext">https://svn.grrrr.org/ext/trunk/flext</a> flext<br><br></div><div class="yiv0850260424gmail_extra">
Then the non-autoconf instructions for building.<br>
</div><div class="yiv0850260424gmail_extra"><br></div><div class="yiv0850260424gmail_extra">git clone git://<a rel="nofollow" target="_blank" href="http://github.com/chikashimiyama/Pd_leapmotion.git">github.com/chikashimiyama/Pd_leapmotion.git</a><br></div><div class="yiv0850260424gmail_extra">

<br>Then in this dir:<br>gcc -o main.o -I/usr/local/include/flext/ -I../../leapmotion/Leap_Dev_Kit_0.7.9_3461/LeapSDK/include/ -DFLEXT_SYS=2 -c main.cpp<br>gcc -o Dispatcher.o -I/usr/local/include/flext/ -DFLEXT_SYS=2 Dispatcher.cpp<br>

g++ -rdynamic -shared -o leapmotion.pd_linux main.o Dispatcher.o -lc -lm -L/usr/local/include -L../../leapmotion/Leap_Dev_Kit_0.7.9_3461/LeapSDK/lib/x86 -lflext-pd_s -lLeap<br></div><div class="yiv0850260424gmail_extra"><br></div><div class="yiv0850260424gmail_extra">

Resulting in the forementioned error.<br></div><div><div class="yiv0850260424h5"><div class="yiv0850260424gmail_extra"><br><div class="yiv0850260424gmail_quote">On Mon, Apr 29, 2013 at 1:20 PM, Joćo Pais <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:jmmmpais@googlemail.com" target="_blank" href="mailto:jmmmpais@googlemail.com">jmmmpais@googlemail.com</a>&gt;</span> wrote:<br>

<blockquote class="yiv0850260424gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;">To whoever might interest,<br>
<br>
I wanted to compile Chikashi Myiama's leapmotion external for Pd in windows, using T Grill's Flext architecture.<br>
<br>
As I'm not a programmer, it isn't practical to learn how to prepare the building environment on my own; I also would doubt that anyone will do this work on its own in the near future, I would be interested to know if anyone with windows building skills would be interested in teaching me how to prepare my system to build this (and other?) externals.<br>


<br>
I'm doing this proposal on my own, without the support of any institution behind me. Being sure that I can't offer a full programmer's salary, anyway I would be interested to know if anyone out there is interested in making me an offer.<br>


<br>
Can you send your replies directly to my mail?<br>
<br>
Best regards,<br>
<br>
Joćo Pais<br>
<br>
______________________________<u></u>_________________<br>
<a rel="nofollow" ymailto="mailto:Pd-list@iem.at" target="_blank" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a rel="nofollow" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div><br>_______________________________________________<br><a ymailto="mailto:Pd-list@iem.at" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br><br><br></div> </div> </div> </blockquote></div>   </div></body></html>