When I build OPENCV 3.4.6 with OPENCL ENABLED NOT WORK WITH abi:ARM64-V8A

asked 2019-08-19 11:47:39 -0600

eagle77 gravatar image

updated 2019-08-19 12:10:28 -0600

berak gravatar image

Hello, I'm trying to build opencv with opencl for ABI ARM64-V8A but when I launch ninja.exe install/strip, i received the follow message. I've tried also the ndk 16b. All works fine if I use armeabi-v7a. I don't understand where is the problem.

Can you help me? Thanks.

...
D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/asm/sigcontext.h:44:2: error: unknown type name '__uint128_t'
  __uint128_t vregs[32];
  ^
...
[11/1166] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_compress.c.o
FAILED: 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_compress.c.o ..... ..... 3.4.6/3rdparty/libtiff/tif_compress.c
In file included from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/signal.h:37:0,
                 from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/sys/select.h:35,
                 from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/unistd.h:34,
                 from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/fcntl.h:37,
                 from D:/Android/OpenCV/opencv-3.4.6/3rdparty/libtiff/tiffiop.h:34,
                 from D:/Android/OpenCV/opencv-3.4.6/3rdparty/libtiff/tif_compress.c:30:
D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/asm/sigcontext.h:44:2: error: unknown type name '__uint128_t'
  __uint128_t vregs[32];
  ^
[12/1166] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_color.c.o
FAILED: 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_color.c.o...... 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_color.c.o -MF 3rdparty\libtiff\CMakeFiles\libtiff.dir\tif_color.c.o.d -o 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_color.c.o   -c D:/Android/OpenCV/opencv-3.4.6/3rdparty/libtiff/tif_color.c
In file included from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/signal.h:37:0,
                 from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/sys/select.h:35,
                 from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/unistd.h:34,
                 from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/fcntl.h:37,
                 from D:/Android/OpenCV/opencv-3.4.6/3rdparty/libtiff/tiffiop.h:34,
                 from D:/Android/OpenCV/opencv-3.4.6/3rdparty/libtiff/tif_color.c:37:
D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/asm/sigcontext.h:44:2: error: unknown type name '__uint128_t'
  __uint128_t vregs[32];
  ^
[13/1166] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_codec.c.o
FAILED: 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_codec.c.o
D......   -c D:/Android/OpenCV/opencv-3.4.6/3rdparty/libtiff/tif_codec.c
In file included from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/signal.h:37:0,
                 from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/sys/select.h:35,
                 from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/unistd.h:34,
                 from D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/fcntl.h:37,
                 from D:/Android/OpenCV/opencv-3.4.6/3rdparty/libtiff/tiffiop.h:34,
                 from D:/Android/OpenCV/opencv-3.4.6/3rdparty/libtiff/tif_codec.c:30:
D:/Android/NDK/android-ndk-r14b/platforms/android-21/arch-arm64/usr/include/asm/sigcontext.h:44:2: error: unknown ...
(more)
edit retag flag offensive close merge delete