View Single Post
  #1   Spotlight this post!  
Unread 07-08-2015, 16:40
lakecat's Avatar
lakecat lakecat is offline
Cat Expert
AKA: Tristan Thompson
FRC #2635 (Lake Monsters)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Lake Oswego, OR
Posts: 15
lakecat is an unknown quantity at this point
Eclipse Java Compile Issue

I have an iterative robot project that I split up into a number of packages. I added two extra packages underneath the usual org.usfirst.frc.team2635.robot package. Before splitting the project into packages, I was able to upload to the robot just fine. Now when I try to run, I get a long string of build errors like this:
Code:
compile:
    [mkdir] Created dir: C:\Users\localuser\Desktop\workspace\LiftBotJava\build
     [echo] [athena-compile] Compiling src with classpath=${wpilib.jar}:${networktables.jar} to build
    [javac] Compiling 26 source files to C:\Users\localuser\Desktop\workspace\LiftBotJava\build
    [javac] C:\Users\localuser\Desktop\workspace\LiftBotJava\src\org\usfirst\frc\team2635\robot\IElevationSetter.java:3: error: package edu.wpi.first.wpilibj does not exist
    [javac] import edu.wpi.first.wpilibj.SpeedController;
    [javac]                             ^
    [javac] C:\Users\localuser\Desktop\workspace\LiftBotJava\src\org\usfirst\frc\team2635\robot\IElevationSetter.java:7: error: cannot find symbol
    [javac] 	void setLiftElevation(Double setPoint, SpeedController lift1, SpeedController lift2);
    [javac] 	                                       ^
    [javac]   symbol:   class SpeedController
    [javac]   location: interface IElevationSetter
    [javac] C:\Users\localuser\Desktop\workspace\LiftBotJava\src\org\usfirst\frc\team2635\robot\IElevationSetter.java:7: error: cannot find symbol
    [javac] 	void setLiftElevation(Double setPoint, SpeedController lift1, SpeedController lift2);
    [javac] 	                                                              ^
    [javac]   symbol:   class SpeedController
    [javac]   location: interface IElevationSetter
And so on for 100 errors. Has anyone else had this problem?
Reply With Quote