Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Can't import CANTalon (http://www.chiefdelphi.com/forums/showthread.php?t=153876)

gmalexander29 18-01-2017 17:07

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
:confused:

gmalexander29 18-01-2017 17:08

Re: Can't import CANTalon
 
Forgot to mention I'm using a Mac

markmcgary 18-01-2017 17:08

Re: Can't import CANTalon
 
Read this: http://wpilib.screenstepslive.com/s/...arty-libraries

gmalexander29 19-01-2017 16:39

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

jbc218 19-01-2017 17:02

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.

Jacob C. 19-01-2017 19:24

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.


All times are GMT -5. The time now is 21:40.

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