View Single Post
  #1   Spotlight this post!  
Unread 16-08-2011, 03:06
rthinman rthinman is offline
Registered User
AKA: Rod Hinman
FRC #3881 (WHEAbots)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Kailua Kona, HI
Posts: 6
rthinman is an unknown quantity at this point
Eclipse library build errors

Hello,

I installed Eclipse (3.7 Indigo) on our Windows 7 development computer. I think I was able to install the FRC Eclipse plug-in on the second try (first try I forgot to check the box and it didn't install everything). So now I have the help files, I can create a sample project, etc. I pointed the plug-in to the JRE that corresponds to the JDK (version 6 update 26) I loaded beforehand, and that is the default. I put our team number into the preferences page for FRC.

But, I noticed after putting in the team number that there were errors in the console window, something about not building. Similarly, when I open an example project, errors show up in the "problems" window, in the console, and I have errors flagged in the source (can't import the WPI library). It seems that the WPILib does not compile, thus there are no class files.

If you are interested, here is what it says in the console window, though it doesn't tell me much about why the build failed.

Code:
-do-compile:
    [mkdir] Created dir: C:\eclipse\plugins\edu.wpi.first.javadev.sunspotfrcsdk_1.0.6.6\sunspotfrcsdk\lib\WPILibJ\build
    [javac] Compiling 126 source files to C:\eclipse\plugins\edu.wpi.first.javadev.sunspotfrcsdk_1.0.6.6\sunspotfrcsdk\lib\WPILibJ\build

BUILD FAILED

C:\eclipse\plugins\edu.wpi.first.javadev.sunspotfrcsdk_1.0.6.6\sunspotfrcsdk\install.xml:169: The following error occurred while executing this line:
C:\eclipse\plugins\edu.wpi.first.javadev.sunspotfrcsdk_1.0.6.6\sunspotfrcsdk\lib\WPILibJ\build.xml:43: The following error occurred while executing this line:
C:\eclipse\plugins\edu.wpi.first.javadev.sunspotfrcsdk_1.0.6.6\sunspotfrcsdk\ant\compile.xml:48: Error running javac.exe compiler
Any ideas about what has gone wrong, and how to fix it? It is going to be difficult to code without the class files. Thanks in advance.
Rod
Reply With Quote