|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Can not resolve
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? |
|
#2
|
|||
|
|||
|
Re: Can not resolve
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 |
|
#3
|
||||
|
||||
|
Can not resolve
I will check when we are back in the shop tomorrow morning.
Where should I look to see these "referenced Libraries" Last edited by matthewdenny : 01-15-2015 at 08:11 PM. |
|
#4
|
|||
|
|||
|
Re: Can not resolve
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 |
|
#5
|
||||
|
||||
|
Re: Can not resolve
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. |
|
#6
|
||||||
|
||||||
|
Re: Can not resolve
Did you rebuild the index? https://wpilib.screenstepslive.com/s...ildingTheIndex
|
|
#7
|
||||
|
||||
|
Re: Can not resolve
In package explorer:
2015v 0.0 src edu.wpi.first edu.wpi.first.wpilibj.templates JRE System Library |
|
#8
|
||||
|
||||
|
Rebuilding the index did it. Thanks everyone.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|