This is my first year programming a robot in FRC but have prior programming experience. All previous programmers on my team have graduated or left and mentor who worked mainly on programming has moved away as well. I have also been in contact with other programmers as well and have not yet found an answer to my problem yet.
I am trying to code a drivetrain of 6 talonSRX’s in java. I have installed libraries from CTRE and I am using VSCode. Below I have pasted the error I am getting in my terminal. We get successful build and then get this:
********** Robot program starting **********
java.lang.UnsatisfiedLinkError: C:\Users\Riley Robotics\Desktop\Deep Space (2018-19)\Real
Code\build\tmp\jniExtractDir\CTRE_PhoenixCCI.dll: Can't find dependent libraries
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2649)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:829)
at java.base/java.lang.System.loadLibrary(System.java:1867)
at com.ctre.phoenix.CTREJNIWrapper.<clinit>(CTREJNIWrapper.java:9)
at com.ctre.phoenix.motorcontrol.can.BaseMotorController.<init>(BaseMotorController.java:54)
at com.ctre.phoenix.motorcontrol.can.TalonSRX.<init>(TalonSRX.java:27)
at frc.robot.subsystems.Drivetrain.<init>(Drivetrain.java:35)
at frc.robot.Robot.robotInit(Robot.java:43)
at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:63)
at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:263)
at frc.robot.Main.main(Main.java:27)
We also have a red communications light on the roboRio. I have updated the firmwarwe on the Roborio and the talons as well.