Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

java lib: fixed Makefile for i386 systems, fixed Random in Blink1Test…

…0, updated build products
  • Loading branch information...
commit 3cab9d230bdc6763e6b53b50182ad83c85921de5 1 parent 4ff39c0
@todbot authored
View
3  java/Makefile
@@ -87,7 +87,8 @@ LIBTARGET = lib$(TARGET).so # for linux
USBFLAGS += `pkg-config libusb-1.0 --cflags`
USBLIBS += `pkg-config libusb-1.0 --libs`
OBJS = ../commandline/hidapi/libusb/hid.o
-OS_CFLAGS = $(USBFLAGS) -fPIC -shared -I/usr/lib/jvm/default-java/include
+# gotta find jni.h in here somewhere (is there a better way of doing this?)
+OS_CFLAGS = $(USBFLAGS) -fPIC -shared -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/java-6-openjdk-i386/include/
OS_LDFLAGS = $(USBLIBS)
endif
View
BIN  libraries/blink1.jar
Binary file not shown
View
BIN  libraries/libBlink1.so
Binary file not shown
View
1  processing/Blink1Test0/Blink1Test0.pde
@@ -6,6 +6,7 @@
*/
import thingm.blink1.*;
+import java.util.Random;
Blink1 blink1;
Random rand;
Please sign in to comment.
Something went wrong with that request. Please try again.