Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   package edu.wpi.first.wpilibj.buttons does not exist (http://www.chiefdelphi.com/forums/showthread.php?t=102054)

rushtone 05-02-2012 18:13

package edu.wpi.first.wpilibj.buttons does not exist
 
I've set up a new system for software development, following the "Getting Started with Java for FRC" guide.

I've created a new IterativeRobot-based project.

The editor seems happy that it's found the WPILibJ (code completion works and all that), but when I try to compile (F6 or Shift-F11) I get zillions of "package X does not exist" errors:

Created dir: C:\Users\david\Documents\NetBeansProjects\RushBotP roject\build
Compiling 6 source files to C:\Users\david\Documents\NetBeansProjects\RushBotP roject\build
C:\Users\david\Documents\NetBeansProjects\RushBotP roject\src\team4188\OI.java:4: package edu.wpi.first.wpilibj.buttons does not exist
import edu.wpi.first.wpilibj.buttons.Button;
C:\Users\david\Documents\NetBeansProjects\RushBotP roject\src\team4188\OI.java:5: package edu.wpi.first.wpilibj.buttons does not exist
import edu.wpi.first.wpilibj.buttons.DigitalIOButton;
C:\Users\david\Documents\NetBeansProjects\RushBotP roject\src\team4188\RushBot.java:10: package edu.wpi.first.wpilibj does not exist
import edu.wpi.first.wpilibj.IterativeRobot;

and so on.

What am I doing wrong?

David

neal 05-02-2012 18:56

Re: package edu.wpi.first.wpilibj.buttons does not exist
 
Are you importing edu.wpi.first.wpilibj.buttons.* ?

rushtone 05-02-2012 19:39

Re: package edu.wpi.first.wpilibj.buttons does not exist
 
OI.java, created when I created the project from the IterativeRobot template, does import edu.wpi.first.wpilibj.buttons.Button. I've not made any changes to IO.java (it's still an empty class other than two imports).

David


All times are GMT -5. The time now is 22:23.

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