Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 4615

OpenCV3.4.1 build erron issue on Ubuntu 16.04 LTS

$
0
0
Hello everyone, I'm trying to install OpenCV 3.4.1 on my Ubuntu 16.04 lts following the steps described in [Ubuntu 16.04: How to install OpenCV](https://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/#comment-451886) After make -j4 command I'm geting the following error:> [ 86%] Building CXX object> modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o> /home/developer/opencv-3.4.1/modules/python/src2/cv2.cpp:22:40: fatal error:> pyopencv_generated_include.h: No such> file or directory compilation> terminated.> modules/python3/CMakeFiles/opencv_python3.dir/build.make:62:> recipe for target> 'modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o'> failed make[2]: ***> [modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o]> Error 1 CMakeFiles/Makefile2:29211:> recipe for target> 'modules/python3/CMakeFiles/opencv_python3.dir/all'> failed make[1]: ***> [modules/python3/CMakeFiles/opencv_python3.dir/all]> Error 2 Makefile:160: recipe for> target 'all' failed make: *** [all]> Error 2 Then I have tried "make gen_opencv_python_source" and "make all" commands. After that at the last step when I run make install I'm getting again the same error (see above). Could somebody tell how to solve this?

Viewing all articles
Browse latest Browse all 4615

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>