Go to Post Remember, WWGD? (What would Grandma Do?) - Vikesrock [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-02-2012, 18:13
rushtone rushtone is offline
Registered User
FRC #4188
 
Join Date: Feb 2012
Location: Columbus, GA
Posts: 8
rushtone is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2012, 18:56
neal's Avatar
neal neal is offline
Neal
FRC #1777 (Viking Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2009
Location: United States
Posts: 56
neal is an unknown quantity at this point
Re: package edu.wpi.first.wpilibj.buttons does not exist

Are you importing edu.wpi.first.wpilibj.buttons.* ?
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2012, 19:39
rushtone rushtone is offline
Registered User
FRC #4188
 
Join Date: Feb 2012
Location: Columbus, GA
Posts: 8
rushtone is an unknown quantity at this point
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
Reply With Quote
Reply


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 22:23.

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