Skip to content

Instantly share code, notes, and snippets.

@safris
Created November 26, 2020 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save safris/34513cab869ed961b8906d17dbca02c6 to your computer and use it in GitHub Desktop.
Save safris/34513cab869ed961b8906d17dbca02c6 to your computer and use it in GitHub Desktop.
OpenCV stitch java build error
jar:
[javac] Compiling 290 source files to /private/tmp/opencv-20201126-91462-11fhoqm/opencv-4.5.0/build/modules/java/jar/opencv/build/classes
[javac] /private/tmp/opencv-20201126-91462-11fhoqm/opencv-4.5.0/build/modules/java/jar/opencv/java/org/opencv/stitching/GraphCutSeamFinder.java:12: error: cannot find symbol
[javac] public class GraphCutSeamFinder extends Base {
[javac] ^
[javac] symbol: class Base
[javac] /private/tmp/opencv-20201126-91462-11fhoqm/opencv-4.5.0/build/modules/java/jar/opencv/java/org/opencv/stitching/GraphCutSeamFinder.java:43: error: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] /private/tmp/opencv-20201126-91462-11fhoqm/opencv-4.5.0/build/modules/java/jar/opencv/java/org/opencv/stitching/GraphCutSeamFinder.java:45: error: cannot find symbol
[javac] delete(nativeObj);
[javac] ^
[javac] symbol: variable nativeObj
[javac] location: class GraphCutSeamFinder
[javac] 3 errors
Target 'jar' failed with message 'Compile failed; see the compiler error output for details.'.
BUILD FAILED
/private/tmp/opencv-20201126-91462-11fhoqm/opencv-4.5.0/build/modules/java/jar/opencv/build.xml:14: Compile failed; see the compiler error output for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment