Go to Post You inspire your way. I'll inspire my way. - Andrew Schreiber [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

 
Reply
Thread Tools Rate Thread Display Modes
  #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: 59
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
  #2   Spotlight this post!  
Unread 21-01-2017, 16:35
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 136
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
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
__________________
WPILib
GRIP, RobotBuilder

Last edited by SamCarlberg : 21-01-2017 at 16:56.
Reply With Quote
Reply


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 23:54.

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