Error while compiling opencv with contrib

asked 2016-07-27 12:36:14 -0500

updated 2016-07-27 12:41:10 -0500

berak gravatar image

I get following error when I try to compile opencv_contrib with opencv3.1 on my mac with OS X El Capitan 10.11.6. How do I resolve the error? [ 97%] Generating pyopencv_generated_include.h, pyopencv_generated_funcs.h, pyopencv_generated_types.h, pyopencv_generated_type_reg.h, pyopencv_generated_ns_reg.h Traceback (most recent call last): File "/Users/11200/opencv-3.1.0/modules/python/python2/..//src2/gen2.py", line 943, in <module> generator.gen(srcfiles, dstdir) File "/Users/11200/opencv-3.1.0/modules/python/python2/..//src2/gen2.py", line 869, in gen self.add_func(decl) File "/Users/11200/opencv-3.1.0/modules/python/python2/..//src2/gen2.py", line 807, in add_func func_map = self.classes[classname].methods KeyError: u'dnn_LSTMLayer' make[2]: * [modules/python2/pyopencv_generated_include.h] Error 1 make[1]: [modules/python2/CMakeFiles/opencv_python2.dir/all] Error 2 make: ** [all] Error 2

edit retag flag offensive close merge delete