Java binding not working when binding with Python >= 3.3 (Bug #3768)


Added by Yannick Hold over 10 years ago. Updated over 10 years ago.


Status:Done Start date:2014-06-25
Priority:Normal Due date:
Assignee:Andrey Pavlenko % Done:

70%

Category:java bindings
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Linux
Difficulty: HW Platform:x64
Pull request:

Description

Error spit by make:

[ 56%] Generating core+Mat-jdoc.java, core+MatOfDouble-jdoc.java, core+KeyPoint-jdoc.java, core+RotatedRect-jdoc.java, core+Range-jdoc.java, util
s+Converters-jdoc.java, core+MatOfInt4-jdoc.java, core+MatOfPoint3-jdoc.java, core+DMatch-jdoc.java, core+MatOfByte-jdoc.java, core+MatOfPoint-jd
oc.java, core+MatOfFloat4-jdoc.java, core+Scalar-jdoc.java, core+MatOfInt-jdoc.java, core+MatOfPoint2f-jdoc.java, core+CvType-jdoc.java, core+Siz
e-jdoc.java, core+MatOfKeyPoint-jdoc.java, core+MatOfDMatch-jdoc.java, core+TermCriteria-jdoc.java, core+Point-jdoc.java, core+MatOfRect-jdoc.jav
a, core+Rect-jdoc.java, core+Point3-jdoc.java, core+MatOfPoint3f-jdoc.java, core+MatOfFloat6-jdoc.java, core+MatOfFloat-jdoc.java, core+CvExcepti
on-jdoc.java
modules/java/CMakeFiles/opencv_java.dir/build.make:4708: recipe for target 'modules/java/core+Mat-jdoc.java' failed
make[2]: *** [modules/java/core+Mat-jdoc.java] Error 1
CMakeFiles/Makefile2:4851: recipe for target 'modules/java/CMakeFiles/opencv_java.dir/all' failed
make[1]: *** [modules/java/CMakeFiles/opencv_java.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2

Using an updated Arch Linux using Python 3.4.1. Experienced by others as well (check the first solution here: http://stackoverflow.com/questions/20953273/install-opencv-for-python-3-3).

If built passing `-D BUILD_opencv_java=OFF` to cmake, compilation works.


Associated revisions

Revision 92efe453
Added by Matthew Conway over 10 years ago

update gen_javadoc prints to python3 syntax fixed #3768

Revision bed8cb42
Added by Vadim Pisarevsky about 10 years ago

Merge pull request #3768 from jet47:gpumat-set-to

History

Updated by Yannick Hold over 10 years ago

  • Assignee deleted (Roman Donchenko)

Updated by Dmitry Retinskiy over 10 years ago

Andrey, could you check this?
Thanks.

  • Status changed from New to Open
  • Category changed from build/install to java bindings
  • Assignee set to Andrey Pavlenko

Updated by Matthew Conway over 10 years ago

I've submitted a pull request on github that fixes this issue. I'm not sure what it does to older builds. If there's a better way of handling the print statements for all python versions. Let me know.
Link: https://github.com/Itseez/opencv/pull/3301

  • Status changed from Open to Done
  • % Done changed from 0 to 70

Also available in: Atom PDF