ofTheo / ofxKinect

legacy openFrameworks wrapper for the xbox kinect (OF pre-0.8.0+ only) - ofxKinect is now included and is being maintained in OF releases
MIT License
540 stars 105 forks source link

osx libusb universal build + ppc support #56

Closed danomatika closed 13 years ago

danomatika commented 13 years ago

Howdy all,

I just committed a universal build (x86, i386, ppc) of libusb to the develop branch. Please test this. So far it works fine for me on 10.6.

This is a build of libusb following the libfreeenct readme using the following ./configure options:

./configure LDFLAGS="-framework IOKit -framework CoreFoundation" CFLAGS="-arch i386 -arch x86_64 -arch ppc" --enable-static --disable-shared --disable-dependency-tracking

Once you've built lib usb, the .a is found in a hidden dir: libusb/.libs

danomatika commented 13 years ago

Ok, I have a report that ofxKinect compiles and runs on ppc, but the images are garbage. .. perhaps this is a byte order issue? I don't have a ppc machine, so I can't test this.

kylemcdonald commented 13 years ago

two quick notes:

1 if you want the most up to date libusb, i have a repo i've been maintaining locally that uses stuge's as a base and applies libfreenect patches manually on top of it. as far as i know, this resolves multiple bugs that aren't discussed elsewhere.

2 OF is dropping ppc support so maybe just x86 and i386 is best

danomatika commented 13 years ago

1 This is the first of heard of it. I followed the freenect tutorial on building libusb which includes the patch. If you have anything I don't, then the configure flags are above ...

2 I disagree. OF may be dropping ppc support in 007, but its still here for 0062 and people are still using ppc machines. If it's not much work to just build a universal lib, then why not support them until 007 comes out for real? I know there will be at least one ppc user in your ITP class ...