I am trying to build opencv with CUDA 8 but the above mentioned error poped up. I tried searching for this, but instead found some other errors related to syntax and older versions of python. Below , I am posting the terminal output
Traceback (most recent call last):
File "/home/bittu/opencv-3.1.0-with-cuda8/modules/python/python3/..//src2/gen2.py", line 943, in <module>
generator.gen(srcfiles, dstdir)
File "/home/bittu/opencv-3.1.0-with-cuda8/modules/python/python3/..//src2/gen2.py", line 852, in gen
decls = self.parser.parse(hdr)
File "/home/bittu/opencv-3.1.0-with-cuda8/modules/python/src2/hdr_parser.py", line 746, in parse
f = io.open(hname, 'rt', encoding='utf-8')
FileNotFoundError: [Errno 2] No such file or directory: ''
modules/python3/CMakeFiles/opencv_python3.dir/build.make:63: recipe for target 'modules/python3/pyopencv_generated_include.h' failed
make[2]: *** [modules/python3/pyopencv_generated_include.h] Error 1
CMakeFiles/Makefile2:5905: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/all' failed
make[1]: *** [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
I am new to linux, hence the above problem does not even make sense to me