Code Monkey home page Code Monkey logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
This looks like the problem I had when using this library. 

To solve my problem, I did as follows:
1) remove the .jnilib file from the project build-path 
2) make sure that the hidapi.jar file is included in the project build-path
3) go: Configure project build path and select the 'libraries' tab. 
4) click the pull-down arrow beside the hidapi.jar include
5) doubleclick the 'Native library location', and select the location of the 
.jnilib file

Explanation: The libhidapi-jni-64.jnilib is not an actual Java library, it is 
the native interface for the library. The actual library to include is the 
hidapi.jar. By itself though the hidapi.jar doesn't do anything, it needs a 
native library to work with. And so we tell it to use the 
libhidapi-jni-64.jnilib as the native library.

I think .jnilib is specific to Mac OSX, if you wanted to do this on windows you 
would select the .dll file instead. 

Hope that helps!

Original comment by [email protected] on 25 May 2012 at 12:15

from javahidapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Please use new build of JavaDrone.
If you are still having problems open a bug report in JavaDrone project.

Original comment by [email protected] on 1 Aug 2012 at 1:40

  • Changed state: Invalid

from javahidapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.