View Single Post
  #15   Spotlight this post!  
Unread 21-01-2016, 18:47
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: 356
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: navX MXP Import Issue

Quote:
Originally Posted by ejscribner View Post
Okay so we know the eclipse plugins are up to date. My error message has changed slightly to reflect that it is finding some sort of navX library, or at least its looking for one, as you can see below:

Code:
     [echo] [athena-compile] Compiling src with classpath=C:\Users\Developer/wpilib/java/current/lib/WPILib.jar:C:\Users\Developer/wpilib/java/current/lib/NetworkTables.jar:C:\Users\Developer
     [echo] avx-mxpjavalib
     [echo] avx_frc.jar to build
So now its looking for something in C:\Users\Developer\avx-mxpjavalib or \avx_frc.jar so I can clearly see that something is misspelled due to the "avx" instead of "navx" but I cant seem to find where it is misspelled. Where do I edit the filepath for this so that it is correct?
OK, we're making progress - now that you've got the correct WPI library version, the build is attempting to link to the navx library. But it appears that the path is wrong:

Here's what you entered in your build.properties:

userLibs=${user.home}/navx-mxp/java/lib/navx_frc.jar

But it appears that when eclipse is building, each time the "/n" characters are encountered, those characters are being treated as a new-line character.

It's interesting to note that the \n sequence (where \ is an 'escape' character) translates to an ascii new-line character, which is what eclipse appear to be outputting.

This is likely a system-specific configuration issue, and I'm going to recommend trying it on another system - or else identifying what it is in your system that is interpreting "/n" in file system paths as a new line character. I've see this kind of thing happen sometimes if a package like Cygwin is installed, although I can't remember the details off of the top of my head.