View Full Version : Can not resolve
matthewdenny
15-01-2015, 19:52
We are using eclipse for the first time. And all of our spots were we call wpi classes say things like "class talon could not be resolved" and have red squiggly lines under them.
What is this madness?
AlexBrinister
15-01-2015, 20:04
It sounds like Eclipse cannot find the wpilib jar that has all of the wpi classes in it. Is there something like "Referenced Libraries" if you maximize your project folder in the package explorer? If so, maximize that too. What does it list?
Alex Brinister
matthewdenny
15-01-2015, 20:08
I will check when we are back in the shop tomorrow morning.
Where should I look to see these "referenced Libraries"
AlexBrinister
15-01-2015, 20:14
If you look at all of your project files in the Eclipse Package explorer window, you should see an icon that resembles a stack of books and next to it, it should say "Referenced Libraries".
Alex Brinister
Are you importing them? Did you follow the tutorial to a T?
Ctrl + 1 while hovering over the part of the line throwing the error. If it gives you an option to import, double click that option.
Joe Ross
15-01-2015, 22:37
Did you rebuild the index? https://wpilib.screenstepslive.com/s/4485/m/13810/l/145319-creating-your-benchtop-test-program#RebuildingTheIndex
matthewdenny
16-01-2015, 08:34
In package explorer:
2015v 0.0
src
edu.wpi.first
edu.wpi.first.wpilibj.templates
JRE System Library
matthewdenny
17-01-2015, 10:02
Rebuilding the index did it. Thanks everyone.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.