Go to Post I know FIRST is all about changing society. But my approach is one person at a time. - Phil 33 [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 18-01-2017, 17:07
gmalexander29 gmalexander29 is offline
Registered User
FRC #5000
 
Join Date: Nov 2016
Location: Hingham, MA
Posts: 4
gmalexander29 is an unknown quantity at this point
Can't import CANTalon

When I type in import edu.wpi.first.wpilibj. I don't see an option for CANTalon
I have updated to the latest WPILib
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2017, 17:08
gmalexander29 gmalexander29 is offline
Registered User
FRC #5000
 
Join Date: Nov 2016
Location: Hingham, MA
Posts: 4
gmalexander29 is an unknown quantity at this point
Re: Can't import CANTalon

Forgot to mention I'm using a Mac
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2017, 17:08
markmcgary's Avatar
markmcgary markmcgary is online now
Software Mentor
FRC #4322 (Clockwork Oranges)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Fullerton, CA
Posts: 179
markmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nice
Re: Can't import CANTalon

Read this: http://wpilib.screenstepslive.com/s/...arty-libraries
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2017, 16:39
gmalexander29 gmalexander29 is offline
Registered User
FRC #5000
 
Join Date: Nov 2016
Location: Hingham, MA
Posts: 4
gmalexander29 is an unknown quantity at this point
Re: Can't import CANTalon

I downloaded and copied the java folder to wpilib/user/java/lib and I still can't import com.ctre without getting an error
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2017, 17:02
jbc218 jbc218 is offline
Registered User
FRC #4910 (East Cobb Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Georgia
Posts: 3
jbc218 is an unknown quantity at this point
Re: Can't import CANTalon

Have you added the library to your build path in Eclipse? If not, you can do this by right clicking the project name in the project explorer, go to build path -> configure build path -> libraries tab -> add external jars, and then just select the .jar.
Reply With Quote
  #6   Spotlight this post!  
Unread 19-01-2017, 19:24
Jacob C. Jacob C. is offline
Engineer at CTR Electronics
FRC #4130 (The Blue Devils)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Richmond, MI
Posts: 21
Jacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of light
Re: Can't import CANTalon

You do not need to manually add external libraries to your build path.

When you start Eclipse, the WPI Plug-ins automatically add anything in the appropriate WPI/user folder to the build path.

This means that anytime you add an external library, you must restart eclipse.
__________________
FiM Volunteer
Since 2015: Controls Mentor for FRC 4130, The Blue Devils (Richmond, MI)
2009-2014: FRC Team 1718, The Fighting Pi

Full Disclosure: I am an Engineer for CTR Electronics
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 12:58.

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