Go to Post We don't require innovation; we simply encourage it. - Tristan Lall [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 17:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi