opencv make
Hi All,
I face an error when install opencv.
The error is: 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 "/home/cudauser/tianye/opencv/modules/python/python2/..//src2/gen2.py", line 943, in <module>
generator.gen(srcfiles, dstdir)
File "/home/cudauser/tianye/opencv/modules/python/python2/..//src2/gen2.py", line 852, in gen
decls = self.parser.parse(hdr)
File "/home/cudauser/tianye/opencv/modules/python/src2/hdr_parser.py", line 746, in parse
f = io.open(hname, 'rt', encoding='utf-8')
IOError: [Errno 2] No such file or directory: ''
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
Can anybody help me? Thanks in advance.
Are you in need of python support? If not, the easiest solution for you is disabling the build of python wrappers in CMAKE-GUI.
i looked it up, it's the part, where hdr_parser.py is fed the opencv module headers for parsing, and one of them (or all ?) seems to be missing.
weird error ;(
yes i need python support T-T
I get the same error. I tried modifying the gen2 code to skip blank entries, in the off chance that maybe it was an accidental blank entry in an otherwise usable list, but then I got a long string of errors of the form:
@berak, yes, they are all missing. The headers list contains only one item, the empty string.
Has anybody found a solution to this using release 3.1.0?