View Single Post
  #11   Spotlight this post!  
Unread 21-01-2017, 13:20
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 359
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by mkopack View Post
Hey all!

Our team picked up one of the NavX-Micro's for use in this year's Steamworks game. We're having a heck of a time just trying to get the demo programs to run though...

We are developing on Linux machines. we followed the directions found on: http://www.pdocs.kauailabs.com/navx-mxp/installation/ and did the Linux/Mac install stuff, pointed to the library in eclipse's settings and made sure the project settings had the references set up.

Whenever we go to run the "Robot" program though it fails with the following stack trace:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no wpilibJavaJNI in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at edu.wpi.first.wpilibj.hal.JNIWrapper.<clinit>(JNIW rapper.java:22)
at edu.wpi.first.wpilibj.RobotBase.initializeHardware Configuration(RobotBase.java:171)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:194)


I remember some discussion about the WPILibs being split out some this year, but I have no idea how to fix this.

Ideas? Do the instructions need to be updated???

Any help is appreciated...
Where is the WPI library installed on your Linux machine, and are your eclipse settings configured correctly to locate the WPI library?

Linux development environments are a bit off the beaten path, so you'll need to do a little extra legwork to track that down than most people do. If in your investigation you do find an issue in the navX libraries, please post that after you complete your research.
Reply With Quote