Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

3.1 build for "armeabi-v7a with NEON" fails

On my OSX machine I added -DANDROID_ABI="armeabi-v7a with NEON" to the cmake command in platforms/scripts/cmake_android_arm.sh

When I now execute make -j5 in build_android_arm directory I get following compiler error:

opencv/modules/core/src/convert.cpp: In function 'void cv::cvtScaleHalf_(const T*, size_t, DT*, size_t, cv::Size) [with T = float; DT = short int; size_t = unsigned int; cv::Size = cv::Size_<int>]':
/Users/tmanthey/Documents/Development/opencv/modules/core/src/convert.cpp:4582:31: error: 'float16_t' was not declared in this scope
                     vst1_f16((float16_t*)(dst + x), v_dst);
                               ^
/Users/tmanthey/Documents/Development/opencv/modules/core/src/convert.cpp:4582:41: error: expected primary-expression before ')' token
                     vst1_f16((float16_t*)(dst + x), v_dst);
                                         ^
/Users/tmanthey/Documents/Development/opencv/modules/core/src/convert.cpp:4582:58: error: 'vst1_f16' was not declared in this scope
                     vst1_f16((float16_t*)(dst + x), v_dst);
                                                          ^
/Users/tmanthey/Documents/Development/opencv/modules/core/src/convert.cpp: In function 'void cv::cvtScaleHalf_(const T*, size_t, DT*, size_t, cv::Size) [with T = short int; DT = float; size_t = unsigned int; cv::Size = cv::Size_<int>]':
/Users/tmanthey/Documents/Development/opencv/modules/core/src/convert.cpp:4634:51: error: 'float16_t' was not declared in this scope
                     float16x4_t v_src = vld1_f16((float16_t*)(src + x));
                                                   ^
/Users/tmanthey/Documents/Development/opencv/modules/core/src/convert.cpp:4634:61: error: expected primary-expression before ')' token
                     float16x4_t v_src = vld1_f16((float16_t*)(src + x));
                                                             ^
/Users/tmanthey/Documents/Development/opencv/modules/core/src/convert.cpp:4634:71: error: 'vld1_f16' was not declared in this scope
                     float16x4_t v_src = vld1_f16((float16_t*)(src + x));