when i try to install the hailo rpi 5 examples : GitHub - hailo-ai/hailo-rpi5-examples, I get the error below when i try to run : ./install.sh
. I realised that almost all the files have been update today and I hadnt get this error before. Anyone knows how to fix it ?
./install.sh
Sourcing environment variables and activating virtual environment…
Setting up the environment…
Setting up the environment for hailo-tappas-core…
TAPPAS_VERSION is 3.30.0. Proceeding…
You are not in the venv_hailo_rpi5_examples virtual environment.
Virtual environment exists. Activating…
TAPPAS_POST_PROC_DIR set to /usr/lib/aarch64-linux-gnu/hailo/tappas/post_processes
DEVICE_ARCHITECTURE is set to: HAILO8L
Installing additional system dependencies…
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
rapidjson-dev is already the newest version (1.1.0+dfsg2-7.1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Installing required Python dependencies…
Looking in indexes: Simple index, piwheels - Simple index
Collecting git+https://github.com/hailo-ai/hailo-apps-infra.git (from -r requirements.txt (line 4))
Cloning GitHub - hailo-ai/hailo-apps-infra to /tmp/pip-req-build-sc92rtjr
Running command git clone --filter=blob:none --quiet GitHub - hailo-ai/hailo-apps-infra /tmp/pip-req-build-sc92rtjr
Resolved GitHub - hailo-ai/hailo-apps-infra to commit a80ab902121fd8e6ef14df34c78b720c82c0294a
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
à python setup.py egg_info did not run successfully.
â exit code: 1
â°â> [49 lines of output]
INFO:main:Reading requirements…
INFO:main:Compiling C++ code…
INFO:main:Running command: ./compile_postprocess.sh
Configuring project with Meson…
The Meson build system
Version: 1.0.1
Source dir: /tmp/pip-req-build-sc92rtjr
Build dir: /tmp/pip-req-build-sc92rtjr/build.release
Build type: native build
Project name: hailo_rpi5_examples
Project version: 1.1.1
C compiler for the host machine: cc (gcc 12.2.0 “cc (Debian 12.2.0-14) 12.2.0”)
C linker for the host machine: cc ld.bfd 2.40
C++ compiler for the host machine: c++ (gcc 12.2.0 “c++ (Debian 12.2.0-14) 12.2.0”)
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency hailo-tappas-core found: YES 3.30.0
Build targets in project: 4
hailo_rpi5_examples 1.1.1
User defined options
buildtype: release
Found ninja-1.11.1 at /usr/bin/ninja
Generating targets: 0%| | 0/4 [00:00<?, ?it/s]
Writing build.ninja: 0%| | 0/36 [00:00<?, ?it/s]
Building project with Ninja...
[1/8] Compiling C++ object cpp/libremove_labels.so.p/remove_labels.cpp.o
[2/8] Linking target cpp/libremove_labels.so
[3/8] Compiling C++ object cpp/libyolo_hailortpp_postprocess.so.p/yolo_hailortpp.cpp.o
FAILED: cpp/libyolo_hailortpp_postprocess.so.p/yolo_hailortpp.cpp.o
c++ -Icpp/libyolo_hailortpp_postprocess.so.p -Icpp -I../cpp -I/usr/include/hailo/tappas -I/usr/include/hailo/tappas/gsthailometa -I/usr/include/hailo/tappas/general -I/usr/include/hailo/tappas/plugins/common -I/usr/include/hailo/tappas/tracking -I/usr/include/hailo/tappas/sources/Catch2/include -I/usr/include/hailo/tappas/sources/cxxopts/include -I/usr/include/hailo/tappas/sources/pybind11/include -I/usr/include/hailo/tappas/sources/rapidjson/include -I/usr/include/hailo/tappas/sources/xtensor-blas/include -I/usr/include/hailo/tappas/sources/xtensor/include -I/usr/include/hailo/tappas/sources/xtl/include -I/usr/include/hailo/ -I/usr/include/gstreamer-1.0/gst/hailo/ -I/usr/include/opencv4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/aarch64-linux-gnu -fvisibility=default -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++17 -O3 -Wno-psabi -Wno-class-memaccess -Wno-deprecated-declarations -fPIC -fvisibility=default -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -Wpessimizing-move -Wredundant-move -fconcepts -fPIC -pthread -isystem/usr/include/hailo/tappas/sources/rapidjson/include -MD -MQ cpp/libyolo_hailortpp_postprocess.so.p/yolo_hailortpp.cpp.o -MF cpp/libyolo_hailortpp_postprocess.so.p/yolo_hailortpp.cpp.o.d -o cpp/libyolo_hailortpp_postprocess.so.p/yolo_hailortpp.cpp.o -c ../cpp/yolo_hailortpp.cpp
In file included from ../cpp/yolo_hailortpp.cpp:12:
../cpp/hailo_nms_decode.hpp: In constructor âHailoNMSDecode::HailoNMSDecode(HailoTensorPtr, std::map<unsigned char, std::__cxx11::basic_string<char> >&, float, uint, bool)â:
../cpp/hailo_nms_decode.hpp:68:78: error: âHAILO_FORMAT_ORDER_HAILO_NMS_BY_CLASSâ was not declared in this scope; did you mean âHAILO_FORMAT_ORDER_HAILO_NMSâ?
68 | if ((HAILO_FORMAT_ORDER_HAILO_NMS != _vstream_info.format.order) && (HAILO_FORMAT_ORDER_HAILO_NMS_BY_CLASS != _vstream_info.format.order))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| HAILO_FORMAT_ORDER_HAILO_NMS
[4/8] Compiling C++ object cpp/libyolov8pose_postprocess.so.p/yolov8pose_postprocess.cpp.o
[5/8] Compiling C++ object cpp/libyolov5seg_postprocess.so.p/yolov5seg.cpp.o
ninja: build stopped: subcommand failed.
ERROR:__main__:Failed to compile C++ code. Exit code: 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
à Encountered error while generating package metadata.
â°â> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.