Java libraries needed for setting up HID dev

Status
Not open for further replies.

George

Member
I am trying to write a small app that will interface with the Teensy board. I am working in Java using Eclipse. Anyway I have spent the last few days trying to figure out how to configure my environment with the appropriate "native library". I have downloaded the hidapi-0.7.0.zip https://github.com/signal11/hidapi/downloads also the files from http://code.google.com/p/javahidapi/downloads/list (they are "wrappers" to the native library. Anyway I am totally out of my league when it comes to installing these on my Mac OS X Lion 10.7.5 MacBook. I have read and re-read the sparse documentation and can not figure out what to put where, or how to "build" things if necessary, etc.

Does anybody on here have a similar environment and can help me out.
Thanks,
George
 
OK, finally got it to work. I was able to find a file called libhidapi-jni-64.jnlib from http://code.google.com/p/javadrone/source/browse/lib/mac/?r=5daf4b0f68840d53d4c4d5e0600a9855e045a75e I needed to change the name, just drop the "-64" put it into my java library path "/Library/Java/Extensions" along with a previously obtained hidapi-1.1.jar and I was good to go. I'm assuming you could build your own libhidapi-ini.jnlib with the other code I was able to obtain but I never figured out how to do that.
 
Status
Not open for further replies.
Back
Top