I am a programming mentor for team 4561 and I was going through the setup of a raspberrypi as a coprocessor for vision. I have been following the instructions here https://wpilib.screenstepslive.com/s/currentCS/m/vision/l/687863-off-board-vision-processing-in-java
My issue is I get a build failure with the following error. I have checked the repository and the location is correct. i would appreciate any input as to the cause of the build failure.
Starting a Gradle Daemon (subsequent builds will be faster)
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:startScripts UP-TO-DATE
:downloadOpenCv FAILED
FAILURE: Build failed with an exception.
-
Where:
Script ‘/home/pi/Downloads/VisionBuildSamples-1.0.0/Java/dependencies.gradle’ line: 58 -
What went wrong:
Execution failed for task ‘:downloadOpenCv’.
> Could not resolve all files for configuration ‘:detachedConfiguration1’.
> Could not find opencv-jni-linux-arm-raspbian.jar (org.opencv:opencv-jni:3.2.0).
Searched in the following locations:
http://first.wpi.edu/FRC/roborio/maven/release/org/opencv/opencv-jni/3.2.0/opencv-jni-3.2.0-linux-arm-raspbian.jar -
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 40.976 secs