I received this error while building opencv:
make: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/build.make:128: modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o] Error 1
make: *** [CMakeFiles/Makefile2:8811: modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
It was after entering “make -j4” in the command line.
There were a few red marked words before the code up here. Let me know if you would like to take a look.