Quote:
Originally Posted by slibert
I believe a step or two in the java library configuration instructions was missed, specifically these one:
1) Add a Java Build Variable for the navX-MXP Java Library. To set the build variable, from the Eclipse menu select Window->Preferences->Java->Build Path->Classpath Variables, then click on the “New…” button. Then, in the “New Variable Entry” dialog, set the name to “navx-mxp” and set the Path to <HomeDirectory>\navx-mxp\java\lib\navx_frc.jar. Hit OK to save this change.
and...
2) Ensure that your project’s library paths include the navx-mxp variable, as well as WPI library path variables (networktables and wpilib). If any are missing, you can add them by clicking on the “Add Variable…” button.
If either the "navx-mxp" build variable is not present in the Eclipse Java ClassPath Variables settings - or if your project's library paths do not include this "navx-mxp" variable, the error message you have reported is the very likely result.
|
Thanks for your response! I've followed those steps and its still throwing that error. My thought is that there might be an issue with the classpath in the usage of slashes. Does it matter if they are forward or backslashes? It only seems to let me input forward slashes when I'm adding the classpath (it changes backslashes to forward slashes when I save it) but the error output seems all squirly with half forward and half backslashes as follows:
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 to build
Do you think this may be a factor in the error?