GradleRIO: OpenCV Native libraries could not be loaded

I am using 2017.2.3. I have redeployed and reimaged.

OpenCV Native Libraries could not be loaded.
Please try redeploying, or reimage your roboRIO and try again.
java.lang.UnsatisfiedLinkError: no opencv_java320 in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1119)
	at edu.wpi.first.wpilibj.RobotBase.initializeHardwareConfiguration(RobotBase.java:181)
	at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:194)
********** Robot program starting **********
Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:249): ERROR Unhandled exception: java.lang.NullPointerException at [org.usfirst.frc.team1018.lib.util.MultipleJoystickButton.<init>(MultipleJoystickButton.java:15), org.usfirst.frc.team1018.robot.OI.<init>(OI.java:24), org.usfirst.frc.team1018.robot.OI.getInstance(OI.java:51), org.usfirst.frc.team1018.robot.Robot.robotInit(Robot.java:47), edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:64), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:247)]
WARNING: Robots don't quit!
---> The startCompetition() method (or methods called by it) should have handled the exception above.
NT: server: client CONNECTED: 10.10.18.20 port 56381

Edit: I just realized the error after “Robot program starting” is mine, I’m referring to the one above it.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (10 by maintainers)

Commits related to this issue

Most upvoted comments

I’m going to bump real quick for when I take a look at this issue in the newer releases.

It may be possible to make 3.1.0 and 3.2.0 both work in the same plugin version, given some clever version checking. For <=3.1.0, the artifact is opencv-jni-VERS-linux-arm, while from 3.2.0 onwards it is opencv-jni-VERS-linuxathena