-
-
Notifications
You must be signed in to change notification settings - Fork 56.3k
Description
I get the next error compiling Opencv v2.4.12 in Arch linux https://aur.archlinux.org/packages/opencv2/:
[ 0%] Built target opencv_core_pch_dephelp
[ 0%] Generating precomp.hpp.gch/opencv_core_Release.gch
cc1plus: aviso: la opción de línea de órdenes ‘-Wmissing-prototypes’ es válida para C/ObjC pero no para C++
cc1plus: aviso: la opción de línea de órdenes ‘-Wstrict-prototypes’ es válida para C/ObjC pero no para C++
In file included from /usr/include/c++/6.1.1/bits/stl_algo.h:59:0,
from /usr/include/c++/6.1.1/algorithm:62,
from /tmp/packerbuild-1001/opencv2/opencv2/src/opencv-2.4.12.3/modules/core/include/opencv2/core/core.hpp:53,
from /tmp/packerbuild-1001/opencv2/opencv2/src/opencv-2.4.12.3/modules/core/precomp.hpp:48:
/usr/include/c++/6.1.1/cstdlib:75:25: error fatal: stdlib.h: No existe el fichero o el directorio
include_next <stdlib.h>
^
compilación terminada.
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'
make[2]: *** [modules/core/precomp.hpp.gch/opencv_core_Release.gch] Error 1
CMakeFiles/Makefile2:862: fallo en las instrucciones para el objetivo 'modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all'
make[1]: *** [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Error 2
Makefile:160: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2