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.  I just did that and updated my binary build.  Try it and report back:

http://autobuild.puredata.info/pdlab/pix_freenect-macosx105-i386.tar.bz2

.hc

On Mar 25, 2011, at 5:05 PM, sonia yuditskaya wrote:

Can you clarify that a little?

What would the relationship between the pix_freenect folder and the libusb become?
What would the sequence of operations be?

Sofy 


2011/3/25 Hans-Christoph Steiner <hans@at.or.at>

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.

.hc

On Mar 25, 2011, at 4:13 PM, sonia yuditskaya wrote:

Hi Hans, 
yes I did.
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. 

Sofy

2011/3/25 Hans-Christoph Steiner <hans@at.or.at>

Hey Sofy,

Did you try the binary I posted?


On Fri, 2011-03-25 at 14:19 -0400, sonia yuditskaya wrote:
> Howdy,
> I get the following list of errors:
>
>
> In file included from pix_freenect.h:28,
>                  from pix_freenect.cc:18:
> libfreenect.hpp:29:25: error: libfreenect.h: No such file or directory
>
>                        this is odd because its right there in the same
> directory as pix_freenect.h

Oops, if its my Makefile, I think I removed -I. from the CFLAGS.


> In file included from /Library/Pd/gem/src/Base/GemBase.h:20,
>                  from pix_freenect.h:37,
>                  from pix_freenect.cc:18:
> /Library/Pd/gem/src/Base/CPPExtern.h:19:18: error: m_pd.h: No such
> file or directory
>
>                      this is true: what is this and how do I get it?

Edit the Makefile so that it can find PD_SRC and GEM_SRC on your
machine.

.hc

>
>
> In file included from pix_freenect.h:38,
>                  from pix_freenect.cc:18:
> /Library/Pd/gem/src/Pixes/video.h:21:48: error: m_pd.h: No such file
> or directory
> In file included from /Library/Pd/gem/src/Base/GemBase.h:20,
>                  from pix_freenect.h:37,
>                  from pix_freenect.cc:18:
> /Library/Pd/gem/src/Base/CPPExtern.h:74: error: ‘t_object’ does not
> name a type
> /Library/Pd/gem/src/Base/CPPExtern.h:121: error: ISO C++ forbids
> declaration of ‘t_object’ with no type
> /Library/Pd/gem/src/Base/CPPExtern.h:121: error: expected ‘;’ before
> ‘*’ token
> /Library/Pd/gem/src/Base/CPPExtern.h:129: error: ISO C++ forbids
> declaration of ‘t_canvas’ with no type
> /Library/Pd/gem/src/Base/CPPExtern.h:129: error: expected ‘;’ before
> ‘*’ token
> /Library/Pd/gem/src/Base/CPPExtern.h:133: error: expected `;' before
> ‘static’
> /Library/Pd/gem/src/Base/CPPExtern.h:133: error: ISO C++ forbids
> declaration of ‘t_object’ with no type
> /Library/Pd/gem/src/Base/CPPExtern.h:133: error: expected ‘;’ before
> ‘*’ token
> /Library/Pd/gem/src/Base/CPPExtern.h:138: error: ISO C++ forbids
> declaration of ‘t_symbol’ with no type
> /Library/Pd/gem/src/Base/CPPExtern.h:138: error: expected ‘;’ before
> ‘*’ token
> /Library/Pd/gem/src/Base/CPPExtern.h:144: error: ‘t_class’ has not
> been declared
> /Library/Pd/gem/src/Base/CPPExtern.h:150: error: ISO C++ forbids
> declaration of ‘t_canvas’ with no type
> /Library/Pd/gem/src/Base/CPPExtern.h:150: error: expected ‘;’ before
> ‘*’ token
> In file included from pix_freenect.h:37,
>                  from pix_freenect.cc:18:
> /Library/Pd/gem/src/Base/GemBase.h:93: error: ISO C++ forbids
> declaration of ‘t_outlet’ with no type
> /Library/Pd/gem/src/Base/GemBase.h:93: error: expected ‘;’ before ‘*’
> token
> /Library/Pd/gem/src/Base/GemBase.h:107: error: ‘t_class’ has not been
> declared
> /Library/Pd/gem/src/Base/GemBase.h:120: error: ‘t_class’ has not been
> declared
> /Library/Pd/gem/src/Base/GemBase.h:121: error: ‘t_symbol’ has not been
> declared
> /Library/Pd/gem/src/Base/GemBase.h:121: error: ‘t_atom’ has not been
> declared
> In file included from pix_freenect.cc:18:
> pix_freenect.h:59: error: ‘t_class’ has not been declared
> pix_freenect.h:59: error: ‘t_class’ has not been declared
> pix_freenect.h:65: error: expected `)' before ‘kinect_device_nr’
> pix_freenect.cc:23: error: expected initializer before ‘*’ token
> pix_freenect.cc:23: error: ‘t_float’ was not declared in this scope
> pix_freenect.cc:23: error: ‘t_float’ was not declared in this scope
> pix_freenect.cc:23: error: initializer expression list treated as
> compound expression
> pix_freenect.cc:23: error: expected ‘,’ or ‘;’ before ‘{’ token
> make: *** [pix_freenect.o] Error 1
>
>
>
>
>                     and the rest is a mystery.
>
>
>
>
> Sofy
>
>
> 2011/3/25 Hans-Christoph Steiner <hans@at.or.at>
>
>         On Fri, 2011-03-25 at 16:01 +0100, IOhannes zmölnig wrote:
>         > On 03/25/2011 02:35 PM, Hans-Christoph Steiner wrote:
>         > > On Thu, 2011-03-24 at 20:17 +0100, IOhannes m zmoelnig
>         wrote:
>         > >> -----BEGIN PGP SIGNED MESSAGE-----
>         > >> Hash: SHA1
>         > >>
>         > >> On 2011-03-22 14:26, Hans-Christoph Steiner wrote:
>         > >>>
>         > >>> but
>         > >>> right now the plugins stuff is not fully done yet, and
>         people want to
>         > >>
>         > >> how come?
>         > >
>         > > How do I use the videoKINECT plugin on Mac OS X?  The
>         [driver( message
>         > > is not implemented on Mac OS X.
>         > >
>         > the driver message _is_ implemented on all platforms.
>         > that's the entire idea of the plugin architecture, to get
>         away from
>         > platform constraints.
>         >
>         > the _only_ problem right now is the autobuild process, that
>         currently
>         > disables the plugin system on OSX, and instead uses the old
>         fixed system
>         > (hence no "driver" message).
>         >
>         > so the prboelm is a trivial one (though it has to be
>         solved).
>         > if you want you could have a try (i currently do not have
>         any spare time)
>
>
>         I have no idea what needs to be changed.  It looks like you're
>         the best
>         candidate for this one, but perhaps you could enlighten us?
>
>
>         .hc
>
>
>
>         _______________________________________________
>         GEM-dev mailing list
>         GEM-dev@iem.at
>         http://lists.puredata.info/listinfo/gem-dev
>
>
>





----------------------------------------------------------------------------

I hate it when they say, "He gave his life for his country."  Nobody gives their life for anything.  We steal the lives of these kids.  -Admiral Gene LeRocque




----------------------------------------------------------------------------

Access to computers should be unlimited and total.  - the hacker ethic