Go to Post Words mean what words mean. If your robot is sitting on the ball, then by definition it is not hanging from the bar. NO 50 point bonus. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-01-2017, 16:13
abigailthefox's Avatar
abigailthefox abigailthefox is offline
Registered User
FRC #1711 (Raptors)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Traverse City
Posts: 60
abigailthefox has a spectacular aura aboutabigailthefox has a spectacular aura about
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)
7. I then ran it with -v, to try and show what went wrong, and it gave me this error message
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)
Has anyone else had this issue, or does anyone have any suggestions for how to proceed?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 15:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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