Using OpenCV in BBX15

I would like to use OpenCV in BBX15 for one of my project. I tried building the OpenCV-3.4.1 but receive the compilation errors in NEON and VFP related files. Has anyone built OpenCV-3.4.1 in BBX15?

Here is the cmake command that I used for the build-
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.0.0/modules -D BUILD_EXAMPLES=OFF …

Compilation failed: source file: ‘/media/root/rootfs/home/debian/workspace/opencv/opencv-3.4.1/cmake/checks/cpu_neon.cpp’ check option: ‘’ ===== BUILD LOG ===== Change Dir: /media/root/rootfs/home/debian/workspace/opencv/opencv-3.4.1/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" “cmTC_5e527/fast” /usr/bin/make -f CMakeFiles/cmTC_5e527.dir/build.make CMakeFiles/cmTC_5e527.dir/build make[1]: Entering directory ‘/media/root/rootfs/home/debian/workspace/opencv/opencv-3.4.1/build/CMakeFiles/CMakeTmp’ Building CXX object CMakeFiles/cmTC_5e527.dir/cpu_neon.cpp.o /usr/bin/c++ -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_5e527.dir/cpu_neon.cpp.o -c /media/root/rootfs/home/debian/workspace/opencv/opencv-3.4.1/cmake/checks/cpu_neon.cpp /media/root/rootfs/home/debian/workspace/opencv/opencv-3.4.1/cmake/checks/cpu_neon.cpp:20:2: error: #error “NEON is not supported” #error “NEON is not supported” ^~~~~ /media/root/rootfs/home/debian/workspace/opencv/opencv-3.4.1/cmake/checks/cpu_neon.cpp: In function ‘int main()’: /media/root/rootfs/home/debian/workspace/opencv/opencv-3.4.1/cmake/checks/cpu_neon.cpp:25:23: error: ‘test’ was not declared in this scope printf("%d\n", test()); ^ CMakeFiles/cmTC_5e527.dir/build.make:65: recipe for target ‘CMakeFiles/cmTC_5e527.dir/cpu_neon.cpp.o’ failed make[1]: *** [CMakeFiles/cmTC_5e527.dir/cpu_neon.cpp.o] Error 1 make[1]: Leaving directory ‘/media/root/rootfs/home/debian/workspace/opencv/opencv-3.4.1/build/CMakeFiles/CMakeTmp’ Makefile:126: recipe for target ‘cmTC_5e527/fast’ failed make: *** [cmTC_5e527/fast] Error 2 ===== END =====

CMakeError.log (53.6 KB)

CMakeOutput.log (78.6 KB)