<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Actually, now that I look at it, I think you can just build the latest libusb from git, and then there is no need to patch it. &nbsp;I just did that and updated my binary build. &nbsp;Try it and report back:</div><div><br></div><div><a href="http://autobuild.puredata.info/pdlab/pix_freenect-macosx105-i386.tar.bz2">http://autobuild.puredata.info/pdlab/pix_freenect-macosx105-i386.tar.bz2</a></div><div><br></div><div>.hc</div><br><div><div>On Mar 25, 2011, at 5:05 PM, sonia yuditskaya wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Can you clarify that a little?<div><br></div><div>What would the relationship between the pix_freenect folder and the libusb become?</div><div>What would the sequence of operations be?</div><div><br clear="all">Sofy&nbsp;<br> <br><br><div class="gmail_quote">2011/3/25 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div style="word-wrap:break-word"><div><br></div><div>We might need to build a libusb from source and include the patches, since the patches seem to be required to get the camera stuff working.</div><div><br></div><div>.hc</div> <div><div></div><div class="h5"><br><div><div>On Mar 25, 2011, at 4:13 PM, sonia yuditskaya wrote:</div><br><blockquote type="cite">Hi Hans,&nbsp;<div>yes I did.</div><div>pix_freenect kinects to the kinect (yay!), changes the angle, changes the light on the led. But renders nothing, and either crashes or freezes when I try to change a depth mode or to rgb, etc. I am using pd extended 42.5, with standard issue Gem.&nbsp;</div>  <div><br clear="all">Sofy<br><br><div class="gmail_quote">2011/3/25 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  <br> Hey Sofy,<br> <br> Did you try the binary I posted?<br> <div><br> <br> On Fri, 2011-03-25 at 14:19 -0400, sonia yuditskaya wrote:<br> &gt; Howdy,<br> &gt; I get the following list of errors:<br> &gt;<br> &gt;<br> &gt; In file included from pix_freenect.h:28,<br>  &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from pix_freenect.cc:18:<br> &gt; libfreenect.hpp:29:25: error: libfreenect.h: No such file or directory<br> &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;this is odd because its right there in the same<br> &gt; directory as pix_freenect.h<br> <br> </div>Oops, if its my Makefile, I think I removed -I. from the CFLAGS.<br> <div><br> <br> &gt; In file included from /Library/Pd/gem/src/Base/GemBase.h:20,<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from pix_freenect.h:37,<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from pix_freenect.cc:18:<br>  &gt; /Library/Pd/gem/src/Base/CPPExtern.h:19:18: error: m_pd.h: No such<br> &gt; file or directory<br> &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;this is true: what is this and how do I get it?<br> <br> </div>Edit the Makefile so that it can find PD_SRC and GEM_SRC on your<br>  machine.<br> <font color="#888888"><br> .hc<br> </font><div><div></div><div><br> &gt;<br> &gt;<br> &gt; In file included from pix_freenect.h:38,<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from pix_freenect.cc:18:<br> &gt; /Library/Pd/gem/src/Pixes/video.h:21:48: error: m_pd.h: No such file<br>  &gt; or directory<br> &gt; In file included from /Library/Pd/gem/src/Base/GemBase.h:20,<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from pix_freenect.h:37,<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from pix_freenect.cc:18:<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:74: error: ‘t_object’ does not<br>  &gt; name a type<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:121: error: ISO C++ forbids<br> &gt; declaration of ‘t_object’ with no type<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:121: error: expected ‘;’ before<br>  &gt; ‘*’ token<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:129: error: ISO C++ forbids<br> &gt; declaration of ‘t_canvas’ with no type<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:129: error: expected ‘;’ before<br> &gt; ‘*’ token<br>  &gt; /Library/Pd/gem/src/Base/CPPExtern.h:133: error: expected `;' before<br> &gt; ‘static’<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:133: error: ISO C++ forbids<br> &gt; declaration of ‘t_object’ with no type<br>  &gt; /Library/Pd/gem/src/Base/CPPExtern.h:133: error: expected ‘;’ before<br> &gt; ‘*’ token<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:138: error: ISO C++ forbids<br> &gt; declaration of ‘t_symbol’ with no type<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:138: error: expected ‘;’ before<br>  &gt; ‘*’ token<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:144: error: ‘t_class’ has not<br> &gt; been declared<br> &gt; /Library/Pd/gem/src/Base/CPPExtern.h:150: error: ISO C++ forbids<br> &gt; declaration of ‘t_canvas’ with no type<br>  &gt; /Library/Pd/gem/src/Base/CPPExtern.h:150: error: expected ‘;’ before<br> &gt; ‘*’ token<br> &gt; In file included from pix_freenect.h:37,<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from pix_freenect.cc:18:<br> &gt; /Library/Pd/gem/src/Base/GemBase.h:93: error: ISO C++ forbids<br>  &gt; declaration of ‘t_outlet’ with no type<br> &gt; /Library/Pd/gem/src/Base/GemBase.h:93: error: expected ‘;’ before ‘*’<br> &gt; token<br> &gt; /Library/Pd/gem/src/Base/GemBase.h:107: error: ‘t_class’ has not been<br>  &gt; declared<br> &gt; /Library/Pd/gem/src/Base/GemBase.h:120: error: ‘t_class’ has not been<br> &gt; declared<br> &gt; /Library/Pd/gem/src/Base/GemBase.h:121: error: ‘t_symbol’ has not been<br> &gt; declared<br> &gt; /Library/Pd/gem/src/Base/GemBase.h:121: error: ‘t_atom’ has not been<br>  &gt; declared<br> &gt; In file included from pix_freenect.cc:18:<br> &gt; pix_freenect.h:59: error: ‘t_class’ has not been declared<br> &gt; pix_freenect.h:59: error: ‘t_class’ has not been declared<br> &gt; pix_freenect.h:65: error: expected `)' before ‘kinect_device_nr’<br>  &gt; pix_freenect.cc:23: error: expected initializer before ‘*’ token<br> &gt; pix_freenect.cc:23: error: ‘t_float’ was not declared in this scope<br> &gt; pix_freenect.cc:23: error: ‘t_float’ was not declared in this scope<br>  &gt; pix_freenect.cc:23: error: initializer expression list treated as<br> &gt; compound expression<br> &gt; pix_freenect.cc:23: error: expected ‘,’ or ‘;’ before ‘{’ token<br> &gt; make: *** [pix_freenect.o] Error 1<br>  &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; and the rest is a mystery.<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt; Sofy<br> &gt;<br> &gt;<br> &gt; 2011/3/25 Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;<br>  &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; On Fri, 2011-03-25 at 16:01 +0100, IOhannes zmölnig wrote:<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; On 03/25/2011 02:35 PM, Hans-Christoph Steiner wrote:<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; On Thu, 2011-03-24 at 20:17 +0100, IOhannes m zmoelnig<br>  &gt; &nbsp; &nbsp; &nbsp; &nbsp; wrote:<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt; -----BEGIN PGP SIGNED MESSAGE-----<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt; Hash: SHA1<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt; On 2011-03-22 14:26, Hans-Christoph Steiner wrote:<br>  &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt;&gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt;&gt; but<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt;&gt; right now the plugins stuff is not fully done yet, and<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; people want to<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt;<br>  &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt; how come?<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; How do I use the videoKINECT plugin on Mac OS X? &nbsp;The<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; [driver( message<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; is not implemented on Mac OS X.<br>  &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; the driver message _is_ implemented on all platforms.<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; that's the entire idea of the plugin architecture, to get<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; away from<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; platform constraints.<br>  &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; the _only_ problem right now is the autobuild process, that<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; currently<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; disables the plugin system on OSX, and instead uses the old<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; fixed system<br>  &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; (hence no "driver" message).<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; so the prboelm is a trivial one (though it has to be<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; solved).<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; if you want you could have a try (i currently do not have<br>  &gt; &nbsp; &nbsp; &nbsp; &nbsp; any spare time)<br> &gt;<br> &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; I have no idea what needs to be changed. &nbsp;It looks like you're<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; the best<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; candidate for this one, but perhaps you could enlighten us?<br>  &gt;<br> &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; .hc<br> &gt;<br> &gt;<br> &gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; _______________________________________________<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; GEM-dev mailing list<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:GEM-dev@iem.at" target="_blank">GEM-dev@iem.at</a><br>  &gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br> &gt;<br> &gt;<br> &gt;<br> <br> <br> </div></div></blockquote></div><br></div></blockquote> </div><br></div></div><div> <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word"> <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div> <br>----------------------------------------------------------------------------<br></div><div><br></div>I hate it when they say, "He gave his life for his country." &nbsp;Nobody&nbsp;gives their life for anything. &nbsp;We steal the lives of these kids. &nbsp;-Admiral Gene LeRocque<br> </span></div></span> </div><br></div></blockquote></div><br></div></blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><div>----------------------------------------------------------------------------</div><div><br class="khtml-block-placeholder"></div><div>Access to computers should be unlimited and total.&nbsp; - the hacker ethic</div><br class="Apple-interchange-newline"></span></span></div> </div><br></body></html>