<blockquote>
<p dir="auto">[ 20%] Built target opencv_test_optflow_pch_dephelp<br>
[ 20%] Generating precomp.hpp<br>
[ 20%] Generating precomp.hpp.gch/opencv_highgui_RELEASE.gch<br>
[ 20%] Linking CXX static library ../../lib/libopencv_stitching_pch_dephelp.a<br>
[ 20%] Built target opencv_stitching_pch_dephelp<br>
[ 20%] Generating precomp.hpp<br>
[ 20%] Generating precomp.hpp.gch/opencv_core_RELEASE.gch<br>
In file included from /usr/include/c++/6/bits/stl_algo.h:59:0,<br>
from /usr/include/c++/6/algorithm:62,<br>
from /home/pi/opencv-3.1.0/modules/core/include/opencv2/core/base.hpp:53,<br>
from /home/pi/opencv-3.1.0/modules/core/include/opencv2/core.hpp:54,<br>
from /home/pi/opencv-3.1.0/modules/core/include/opencv2/core/utility.hpp:52,<br>
from /home/pi/opencv-3.1.0/build/modules/core/precomp.hpp:49:<br>
/usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory<br>
#include_next &lt;stdlib.h&gt;<br>
^<br>
compilation terminated.<br>
modules/core/CMakeFiles/pch_Generate_opencv_core.dir/build.make:62: recipe for target 'modules/core/precomp.hpp.gch/opencv_core_RELEASE.gch' failed<br>
make[2]: *** [modules/core/precomp.hpp.gch/opencv_core_RELEASE.gch] Error 1<br>
CMakeFiles/Makefile2:2014: recipe for target 'modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all' failed<br>
make[1]: *** [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br>
[ 20%] Linking CXX static library ../../lib/libopencv_test_stitching_pch_dephelp.a<br>
[ 20%] Built target opencv_test_stitching_pch_dephelp<br>
[ 20%] Linking CXX static library ../../lib/libopencv_perf_stitching_pch_dephelp.a<br>
[ 20%] Built target opencv_perf_stitching_pch_dephelp<br>
[ 20%] Built target pch_Generate_opencv_highgui<br>
Makefile:160: recipe for target 'all' failed<br>
make: *** [all] Error 2</p>
</blockquote>
<p dir="auto">Has you can see i hav a trouble with trying to compile.</p>
<p dir="auto">Someone can help me?</p>
<p dir="auto">thanks to anyone can give me a way to compil all <g-emoji class="g-emoji" alias="woman_dancing" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f483.png">💃</g-emoji></p>
<p dir="auto">I get the next error compiling Opencv v2.4.12 in Arch linux <a href="https://aur.archlinux.org/packages/opencv2/" rel="nofollow">https://aur.archlinux.org/packages/opencv2/</a>:</p>
<hr>
<p dir="auto">[ 0%] Built target opencv_core_pch_dephelp<br>
[ 0%] Generating precomp.hpp.gch/opencv_core_Release.gch<br>
cc1plus: aviso: la opción de línea de órdenes ‘-Wmissing-prototypes’ es válida para C/ObjC pero no para C++<br>
cc1plus: aviso: la opción de línea de órdenes ‘-Wstrict-prototypes’ es válida para C/ObjC pero no para C++<br>
In file included from /usr/include/c++/6.1.1/bits/stl_algo.h:59:0,<br>
from /usr/include/c++/6.1.1/algorithm:62,<br>
from /tmp/packerbuild-1001/opencv2/opencv2/src/opencv-2.4.12.3/modules/core/include/opencv2/core/core.hpp:53,<br>
<strong>from /tmp/packerbuild-1001/opencv2/opencv2/src/opencv-2.4.12.3/modules/core/precomp.hpp:48:<br>
/usr/include/c++/6.1.1/cstdlib:75:25: error fatal: stdlib.h: No existe el fichero o el directorio</strong></p>
<h1 dir="auto">include_next &lt;stdlib.h&gt;</h1>
<p dir="auto">^<br>
compilación terminada.<br>
modules/core/CMakeFiles/pch_Generate_opencv_core.dir/build.make:62: fallo en las instrucciones para el objetivo 'modules/core/precomp.hpp.gch/opencv_core_Release.gch'<br>
make[2]: *** [modules/core/precomp.hpp.gch/opencv_core_Release.gch] Error 1<br>
CMakeFiles/Makefile2:862: fallo en las instrucciones para el objetivo 'modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all'<br>
make[1]: *** [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Error 2<br>
Makefile:160: fallo en las instrucciones para el objetivo 'all'<br>
make: *** [all] Error 2</p>
<hr>