View Single Post
  #1   Spotlight this post!  
Unread 12-14-2015, 09:13 PM
akablack akablack is offline
Registered User
no team
 
Join Date: Dec 2015
Location: New York
Posts: 5
akablack is an unknown quantity at this point
Daisy Vision w/ Java. Error compiling

I'm not sure how many teams still utilize Team 341's vision code with javacv and opencv, but any help on this will be appreciated!

I've got the javacv bin files in the project in eclipse, as well as the opencv bin folder in the PATH system variable. Eclipse sees no issues when compiling.

However, when running Run -> Run As -> WPILib Java Deploy, I get the following errors:

Quote:
[javac] C:\Users\mikec\workspacejava\FRC-2016\src\edu\missdaisy\smartdashboard\daisycv\Dais yCVWidget.java:3: error: package com.googlecode.javacv does not exist
[javac] import com.googlecode.javacv.CanvasFrame;
[javac] ^
[javac] C:\Users\mikec\workspacejava\FRC-2016\src\edu\missdaisy\smartdashboard\daisycv\Dais yCVWidget.java:4: error: package com.googlecode.javacv.cpp does not exist
[javac] import com.googlecode.javacv.cpp.opencv_core;
[javac] ^
[javac] C:\Users\mikec\workspacejava\FRC-2016\src\edu\missdaisy\smartdashboard\daisycv\Dais yCVWidget.java:5: error: package com.googlecode.javacv.cpp.opencv_core does not exist
[javac] import com.googlecode.javacv.cpp.opencv_core.*;
[javac] ^
[javac] C:\Users\mikec\workspacejava\FRC-2016\src\edu\missdaisy\smartdashboard\daisycv\Dais yCVWidget.java:6: error: package com.googlecode.javacv.cpp does not exist
[javac] import com.googlecode.javacv.cpp.opencv_imgproc;
[javac] ^
[javac] C:\Users\mikec\workspacejava\FRC-2016\src\edu\missdaisy\smartdashboard\daisycv\Dais yCVWidget.java:7: error: package com.googlecode.javacv.cpp.opencv_imgproc does not exist
[javac] import com.googlecode.javacv.cpp.opencv_imgproc.*;

It appears that none of the packages are accessible, even though I already imported them into the project.

Any help would be appreciated. Thanks!
Reply With Quote