I am getting error while the make reaches 14%
fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^ compilation terminated. modules/core/CMakeFiles/pch_Generate_opencv_core.dir/build.make:62: recipe for target 'modules/core/precomp.hpp.gch/opencv_core_RELEASE.gch' failed make[2]: * [modules/core/precomp.hpp.gch/opencv_core_RELEASE.gch] Error 1 CMakeFiles/Makefile2:1260: recipe for target 'modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all' failed make[1]: [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: ** [all] Error 2
os, opencv / gcc version ?
see e.g. here , there's some more, type ypir error into the search box in the github page