|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
OpenCV WPI Build Failure
I am working on installing this build of OpenCV, provided by WPI/FRC. I am doing this on a Windows laptop.
On the releases page, a JAR download is available, I downloaded this and tried to run it. It didn't run, and therefore I have done a number of things to try and resolve this issue. 1. I downloaded and installed the latest version of the JRE 2. I set the JAVA_HOME variable 3. Task Manager showed that Java was briefly being started up when I clicked on the JAR, but then immediately failing 4. I opened up the Java preferences in the Control Panel, set up the newest runtime, and then disabled the old one 5. The command line showed that the correct version of Java (with the correct path) was now running 6. When I tried to run the JAR from the command line, it gave me this error message Code:
Exception in thread "main" org.apache.commons.cli.MissingOptionException: -v <version>
at edu.wpi.first.wpilib.opencv.installer.MainCLI.main(MainCLI.java:70)
Code:
Exception in thread "main" org.apache.commons.cli.MissingArgumentException: Missing argument for option: v
at org.apache.commons.cli.DefaultParser.checkRequiredArgs(DefaultParser.
java:211)
at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:125)
at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:76)
at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:60)
at edu.wpi.first.wpilib.opencv.installer.MainCLI.main(MainCLI.java:63)
|
|
#2
|
||||
|
||||
|
Re: OpenCV WPI Build Failure
I suggest you read the README.
And depending on what platform you want OpenCV for, you could just download it directly from the maven server Last edited by SamCarlberg : 21-01-2017 at 16:56. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|