Python3 Opencv3 Ubuntu 15 - 出错

时间:2015-08-02 15:00:24

标签: java python opencv

我遇到了一个安静的怪异情况...... 目前我尝试在Ubuntu 15上为Python3构建和安装OpenCv3 虽然编译和安装opencv3 for python2.7工作得很好 - 对python3(同样下载的opencv包)做同样的操作会停止make make error 2(实际上有不同的错误)......

所以:[ 77%] Generating photo+CalibrateCRF.java, photo.cpp出了点问题,因为之后我得到了不同的追溯和错误:

Traceback (most recent call last):
  File "/media/stefan/A050780B5077E706/_raspi/opencv/sources/modules/java/generator/gen_java.py", line 1559, in <module>
    generator.gen(srcfiles, module, dstdir)
  File "/media/stefan/A050780B5077E706/_raspi/opencv/sources/modules/java/generator/gen_java.py", line 1061, in gen
    self.gen_class(ci)
  File "/media/stefan/A050780B5077E706/_raspi/opencv/sources/modules/java/generator/gen_java.py", line 1460, in gen_class
    for fi in ci.getAllMethods():
  File "/media/stefan/A050780B5077E706/_raspi/opencv/sources/modules/java/generator/gen_java.py", line 824, in getAllMethods
    result.extend([fi for fi in sorted(self.methods) if fi.isconstructor])
TypeError: unorderable types: FuncInfo() < FuncInfo()
modules/java/CMakeFiles/opencv_java.dir/build.make:86: recipe for target 'modules/java/photo+CalibrateCRF.java' failed
make[2]: *** [modules/java/photo+CalibrateCRF.java] Error 1
CMakeFiles/Makefile2:6282: recipe for target 'modules/java/CMakeFiles/opencv_java.dir/all' failed
make[1]: *** [modules/java/CMakeFiles/opencv_java.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

0 个答案:

没有答案