corbmr / javadrone

Automatically exported from code.google.com/p/javadrone
0 stars 0 forks source link

JavaDrone1.1 - HIDLibrary not found #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. load project into eclipse on a ubuntu 10.4 64bit system
2. add external jar's 
3. configure library path by exporting LD_LIBRARY_PATH or java 
-Djava.library.path=... in run configurations the path to libhidapi-jni-64.so
4. run the control tower app.

What is the expected output? What do you see instead?

- both methods from point three yield the same result. The library should have 
been detected. 

My machine specs:

-ubuntu 10.4 64bit
-java-1.6 (jdk,jre) - latest version
-eclipse idigo

Original issue reported on code.google.com by dan.novi...@gmail.com on 9 Nov 2011 at 9:09

GoogleCodeExporter commented 9 years ago

Original comment by kroko...@gmail.com on 19 Jul 2012 at 5:59

GoogleCodeExporter commented 9 years ago
Test case:

1. hg clone
2. mvn eclipse:eclipse
3. Import projects to Eclipse
4. "Run" from eclipse

should work

Original comment by kroko...@gmail.com on 25 Jul 2012 at 5:45

GoogleCodeExporter commented 9 years ago
Now native libraries are built inside jar. No -Djava.library.path is needed. 
Maven  after mvn eclipse:eclips will automatically generates correct .project 
and .classpath

Original comment by dshm...@codeminders.com on 26 Jul 2012 at 1:59