Skip to content

Commit

Permalink
fix the path problem using install_name_tool
Browse files Browse the repository at this point in the history
  • Loading branch information
shiffman committed Jul 6, 2015
1 parent 8717821 commit 204ae4e
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 1 deletion.
1 change: 1 addition & 0 deletions OpenKinect-Processing/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
distribution
/bin/
/bin/
Binary file modified OpenKinect-Processing/lib/libfreenect.dylib
Binary file not shown.
Binary file added OpenKinect-Processing/lib/libusb-1.0.0.dylib
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class Freenect implements Library {
LibraryPath libPath = new LibraryPath();
String path = libPath.get();
// When testing from Eclipse
//path = "lib";
// path = "lib";
// System.out.println("Found path: " + path);

NativeLibrary.addSearchPath("freenect", path);
Expand Down
26 changes: 26 additions & 0 deletions OpenKinect-Processing/src/org/openkinect/processing/TestIt.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package org.openkinect.processing;

import processing.core.PApplet;

public class TestIt extends PApplet {



private Kinect kinect;

public static void main(String[] args) {
PApplet.main(new String[] { "org.openkinect.processing.TestIt"});
}

public void setup() {

kinect = new Kinect(this);

}

public void draw() {
background(0);

}

}

0 comments on commit 204ae4e

Please sign in to comment.