openvino: Error when building OpenVINO 2022 on Raspberry OS Buster 32bit
System information (version)
- OpenVINO => 2022.1
- Operating System / Platform => Raspberry OS Buster 32 bit
- Compiler => -
Detailed description
I am trying to build OpenVINO 2022 on RPi4 with Raspberry OS Buster (32-bit), I am running into the following error:
[ 95%] Linking C executable ../../../../bin/armv7l/Release/hello_nv12_input_classification_c
/usr/bin/ld: //home/pi/openvino/bin/armv7l/Release/lib/libopenvino.so: undefined reference to `std::enable_if<!std::is_same<signed char, char>::value, void>::type ngraph::runtime::reference::convert<ov::float16, signed char>(ov::float16 const*, signed char*, unsigned int)'
/usr/bin/ld: //home/pi/openvino/bin/armv7l/Release/lib/libopenvino.so: undefined reference to `std::enable_if<!std::is_same<float, char>::value, void>::type ngraph::runtime::reference::convert<ov::float16, float>(ov::float16 const*, float*, unsigned int)'
/usr/bin/ld: //home/pi/openvino/bin/armv7l/Release/lib/libopenvino.so: undefined reference to `std::enable_if<!std::is_same<ov::float16, char>::value, void>::type ngraph::runtime::reference::convert<unsigned char, ov::float16>(unsigned char const*, ov::float16*, unsigned int)'
/usr/bin/ld: //home/pi/openvino/bin/armv7l/Release/lib/libopenvino.so: undefined reference to `std::enable_if<!std::is_same<signed char, char>::value, void>::type ngraph::runtime::reference::convert<float, signed char>(float const*, signed char*, unsigned int)'
/usr/bin/ld: //home/pi/openvino/bin/armv7l/Release/lib/libopenvino.so: undefined reference to `ngraph::runtime::reference::depth_to_space(char const*, ov::Shape const&, char*, ov::Shape const&, unsigned int, ov::op::v0::DepthToSpace::DepthToSpaceMode, unsigned int)'
collect2: error: ld returned 1 exit status
make[2]: *** [samples/c/hello_nv12_input_classification/CMakeFiles/hello_nv12_input_classification_c.dir/build.make:86: ../bin/armv7l/Release/hello_nv12_input_classification_c] Error 1
make[1]: *** [CMakeFiles/Makefile2:5752: samples/c/hello_nv12_input_classification/CMakeFiles/hello_nv12_input_classification_c.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
Is there any alternative route to build the latest version on the hardware with the specified OS, or an offline installer like what is shipped for Windows and Linux.
Steps to reproduce
I have followed the following link to build OpenVINO. Link Any documented steps to build the latest version on RPi 4 will be of great help too.
Issue submission checklist
- I report the issue, it’s not a question
- I checked the problem with documentation, FAQ, open issues, Stack Overflow, etc and have not found solution
- There is reproducer code and related data files: images, videos, models, etc.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (2 by maintainers)
Thanks a lot for the support @LL223851 @tomdol @brmarkus @Iffa-Meah. I am not sure what caused the build failure in 32-bit OS, but I’ve successfully built OpenVINO 2022 on RPi OS Bullseye (64-bit) using the steps mentioned by @LL223851 and the fixes by @brmarkus and @tomdol.