-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Compilation problems on Pi Gen 2 with Distribution Bullseye Full (32 bit) #22188
Description
System information (version)
- OpenCV => newest 04.07.2022
- Operating System / Platform => Raspberry Pi OS Full (32bit) A Port of Debian Bullseye with desktop environment and recommended applications
- Compiler => gnu cc1plus
Detailed description
During compilation of opencv a compiler errror occurs at about 44% of compiling
The error message reads:
/home/pi/opencv/modules/dnn/src/layers/fast_convolution/fast_convolution.simd.hpp:176:18 error: 'vfmaq_laneq_f32' was not declared in this scope; did you mean 'vmlaq_lane_f32'?
cause is that the following header file is missing " opencv2/core/hal/intrin.hpp"
So this might be a building issue, because the header was not build previous to fast_convolution.
Steps to reproduce
cmake -D CMAKE_BUILD_TYPE=RELEASE
-D CMAKE_INSTALL_PREFIX=/usr/local
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules
-D ENABLE_NEON=ON
-D ENABLE_VFPV3=ON
-D BUILD_TESTS=OFF
-D INSTALL_PYTHON_EXAMPLES=OFF
-D OPENCV_ENABLE_NONFREE=ON
-D CMAKE_SHARED_LINKER_FLAGS=-latomic
-D BUILD_EXAMPLES=OFF ..
make -f$(nproc)
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
forum.opencv.org, Stack Overflow, etc and have not found any solution - I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc