Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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

2

Can anybody help me? Thanks in advance.