Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue when run ./install_hailo_gstreamer.sh #319

Open
LJ-Hao opened this issue Nov 5, 2024 · 1 comment
Open

issue when run ./install_hailo_gstreamer.sh #319

LJ-Hao opened this issue Nov 5, 2024 · 1 comment

Comments

@LJ-Hao
Copy link

LJ-Hao commented Nov 5, 2024

I want to run multistream inference on rasberrypi5 and get :

(hailo_env) ain@pi5-hailo:~/tappas/scripts/gstreamer $ ./install_hailo_gstreamer.sh 
~/tappas/core/hailo ~/tappas/scripts/gstreamer
Compiling Hailo Gstreamer target all, with 2 cpu cores, build type release --reconfigure
The Meson build system
Version: 0.58.0
Source dir: /home/ain/tappas/core/hailo
Build dir: /home/ain/tappas/core/hailo/build.release
Build type: native build
Project name: gst-hailo-tools
Project version: 3.30.0
C compiler for the host machine: gcc-12 (gcc 12.2.0 "gcc-12 (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: gcc-12 ld.bfd 2.40
C++ compiler for the host machine: g++-12 (gcc 12.2.0 "g++-12 (Debian 12.2.0-14) 12.2.0")
C++ linker for the host machine: g++-12 ld.bfd 2.40
Host machine cpu family: aarch64
Host machine cpu: aarch64
Message: GCC >= 9.0.0 detected, applying extra arguments.
Dependency gstreamer-1.0 found: YES 1.22.0 (cached)
Dependency gstreamer-base-1.0 found: YES 1.22.0 (cached)
Dependency gstreamer-app-1.0 found: YES 1.22.0 (cached)
Dependency gstreamer-video-1.0 found: YES 1.22.0 (cached)
Dependency opencv4 found: YES 4.6.0 (cached)
Dependency glib-2.0 found: YES 2.74.6 (cached)
Dependency gmodule-2.0 found: YES 2.74.6 (cached)
Dependency gobject-2.0 found: YES 2.74.6 (cached)
Dependency pygobject-3.0 found: YES 3.42.2 (cached)
Program python3.11 found: YES (/home/ain/hailo_env/bin/python3.11)
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Dependency python found: YES (pkgconfig)
Configuring config.h using configuration
Library dl found: YES
Dependency libzmq found: YES 4.3.4 (cached)
Dependency threads found: YES unknown (cached)
Library stdc++fs found: YES
Dependency threads found: YES unknown (cached)
Dependency threads found: YES unknown (cached)
Dependency glib-2.0 found: YES 2.74.6 (cached)
Dependency gio-2.0 found: YES 2.74.6 (cached)
Build targets in project: 43

Found ninja-1.10.2.git.kitware.jobserver-1 at /home/ain/hailo_env/bin/ninja
ninja: Entering directory `build.release'                                                           
[1/15] Compiling C++ object plugins/hailo.cpython-311-aarch64-linux-gnu.so.p/python_hailo_python_api.cpp.o
FAILED: plugins/hailo.cpython-311-aarch64-linux-gnu.so.p/python_hailo_python_api.cpp.o 
g++-12 -Iplugins/hailo.cpython-311-aarch64-linux-gnu.so.p -Iplugins -I../plugins -I../general -I/usr/include/python3.11 -fvisibility=default -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 -Wpessimizing-move -Wredundant-move -fconcepts -fPIC -fsized-deallocation -fvisibility=hidden -isystem../../../open_source/pybind11 -isystem../../open_source/pybind11 -MD -MQ plugins/hailo.cpython-311-aarch64-linux-gnu.so.p/python_hailo_python_api.cpp.o -MF plugins/hailo.cpython-311-aarch64-linux-gnu.so.p/python_hailo_python_api.cpp.o.d -o plugins/hailo.cpython-311-aarch64-linux-gnu.so.p/python_hailo_python_api.cpp.o -c ../plugins/python/hailo_python_api.cpp
../plugins/python/hailo_python_api.cpp:8:10: fatal error: gst_hailo_meta.hpp: No such file or directory
    8 | #include "gst_hailo_meta.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/15] Linking target plugins/libgsthailotools.so.3.30.0
FAILED: plugins/libgsthailotools.so.3.30.0 
g++-12  -o plugins/libgsthailotools.so.3.30.0 plugins/libgsthailotools.so.3.30.0.p/gsthailotools.cpp.o plugins/libgsthailotools.so.3.30.0.p/filter_gsthailofilter.cpp.o plugins/libgsthailotools.so.3.30.0.p/filter_gsthailocounter.cpp.o plugins/libgsthailotools.so.3.30.0.p/muxer_gsthailomuxer.cpp.o plugins/libgsthailotools.so.3.30.0.p/muxer_gsthailoroundrobin.cpp.o plugins/libgsthailotools.so.3.30.0.p/muxer_gsthailostreamrouter.cpp.o plugins/libgsthailotools.so.3.30.0.p/common_image.cpp.o plugins/libgsthailotools.so.3.30.0.p/overlay_overlay.cpp.o plugins/libgsthailotools.so.3.30.0.p/overlay_gsthailooverlay.cpp.o plugins/libgsthailotools.so.3.30.0.p/cropping_gsthailobasecropper.cpp.o plugins/libgsthailotools.so.3.30.0.p/cropping_gsthailocropper.cpp.o plugins/libgsthailotools.so.3.30.0.p/cropping_gsthailoaggregator.cpp.o plugins/libgsthailotools.so.3.30.0.p/tiling_gsthailotilecropper.cpp.o plugins/libgsthailotools.so.3.30.0.p/tiling_gsthailotileaggregator.cpp.o plugins/libgsthailotools.so.3.30.0.p/tracking_gsthailotracker.cpp.o plugins/libgsthailotools.so.3.30.0.p/gallery_gsthailogallery.cpp.o plugins/libgsthailotools.so.3.30.0.p/export_export_file_gsthailoexportfile.cpp.o plugins/libgsthailotools.so.3.30.0.p/export_export_zmq_gsthailoexportzmq.cpp.o plugins/libgsthailotools.so.3.30.0.p/import_import_zmq_gsthailoimportzmq.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libgsthailotools.so.3 '-Wl,-rpath,$ORIGIN/../metadata:$ORIGIN/../tracking' -Wl,-rpath-link,/home/ain/tappas/core/hailo/build.release/metadata -Wl,-rpath-link,/home/ain/tappas/core/hailo/build.release/tracking metadata/libgsthailometa.so.3.30.0 tracking/libhailo_tracker.so.3.30.0 /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so /usr/lib/aarch64-linux-gnu/libgobject-2.0.so /usr/lib/aarch64-linux-gnu/libglib-2.0.so /usr/lib/aarch64-linux-gnu/libgstbase-1.0.so /usr/lib/aarch64-linux-gnu/libgstvideo-1.0.so /usr/lib/aarch64-linux-gnu/libgstapp-1.0.so -ldl /usr/lib/aarch64-linux-gnu/libopencv_stitching.so /usr/lib/aarch64-linux-gnu/libopencv_alphamat.so /usr/lib/aarch64-linux-gnu/libopencv_aruco.so /usr/lib/aarch64-linux-gnu/libopencv_barcode.so /usr/lib/aarch64-linux-gnu/libopencv_bgsegm.so /usr/lib/aarch64-linux-gnu/libopencv_bioinspired.so /usr/lib/aarch64-linux-gnu/libopencv_ccalib.so /usr/lib/aarch64-linux-gnu/libopencv_cvv.so /usr/lib/aarch64-linux-gnu/libopencv_dnn_objdetect.so /usr/lib/aarch64-linux-gnu/libopencv_dnn_superres.so /usr/lib/aarch64-linux-gnu/libopencv_dpm.so /usr/lib/aarch64-linux-gnu/libopencv_face.so /usr/lib/aarch64-linux-gnu/libopencv_freetype.so /usr/lib/aarch64-linux-gnu/libopencv_fuzzy.so /usr/lib/aarch64-linux-gnu/libopencv_hdf.so /usr/lib/aarch64-linux-gnu/libopencv_hfs.so /usr/lib/aarch64-linux-gnu/libopencv_img_hash.so /usr/lib/aarch64-linux-gnu/libopencv_intensity_transform.so /usr/lib/aarch64-linux-gnu/libopencv_line_descriptor.so /usr/lib/aarch64-linux-gnu/libopencv_mcc.so /usr/lib/aarch64-linux-gnu/libopencv_quality.so /usr/lib/aarch64-linux-gnu/libopencv_rapid.so /usr/lib/aarch64-linux-gnu/libopencv_reg.so /usr/lib/aarch64-linux-gnu/libopencv_rgbd.so /usr/lib/aarch64-linux-gnu/libopencv_saliency.so /usr/lib/aarch64-linux-gnu/libopencv_shape.so /usr/lib/aarch64-linux-gnu/libopencv_stereo.so /usr/lib/aarch64-linux-gnu/libopencv_structured_light.so /usr/lib/aarch64-linux-gnu/libopencv_phase_unwrapping.so /usr/lib/aarch64-linux-gnu/libopencv_superres.so /usr/lib/aarch64-linux-gnu/libopencv_optflow.so /usr/lib/aarch64-linux-gnu/libopencv_surface_matching.so /usr/lib/aarch64-linux-gnu/libopencv_tracking.so /usr/lib/aarch64-linux-gnu/libopencv_highgui.so /usr/lib/aarch64-linux-gnu/libopencv_datasets.so /usr/lib/aarch64-linux-gnu/libopencv_text.so /usr/lib/aarch64-linux-gnu/libopencv_plot.so /usr/lib/aarch64-linux-gnu/libopencv_ml.so /usr/lib/aarch64-linux-gnu/libopencv_videostab.so /usr/lib/aarch64-linux-gnu/libopencv_videoio.so /usr/lib/aarch64-linux-gnu/libopencv_viz.so /usr/lib/aarch64-linux-gnu/libopencv_wechat_qrcode.so /usr/lib/aarch64-linux-gnu/libopencv_ximgproc.so /usr/lib/aarch64-linux-gnu/libopencv_video.so /usr/lib/aarch64-linux-gnu/libopencv_xobjdetect.so /usr/lib/aarch64-linux-gnu/libopencv_objdetect.so /usr/lib/aarch64-linux-gnu/libopencv_calib3d.so /usr/lib/aarch64-linux-gnu/libopencv_imgcodecs.so /usr/lib/aarch64-linux-gnu/libopencv_features2d.so /usr/lib/aarch64-linux-gnu/libopencv_dnn.so /usr/lib/aarch64-linux-gnu/libopencv_flann.so /usr/lib/aarch64-linux-gnu/libopencv_xphoto.so /usr/lib/aarch64-linux-gnu/libopencv_photo.so /usr/lib/aarch64-linux-gnu/libopencv_imgproc.so /usr/lib/aarch64-linux-gnu/libopencv_core.so /usr/lib/aarch64-linux-gnu/libzmq.so -Wl,--end-group -pthread
/usr/bin/ld: plugins/libgsthailotools.so.3.30.0.p/gsthailotools.cpp.o: in function `plugin_init(_GstPlugin*)':
/home/ain/tappas/core/hailo/build.release/../plugins/gsthailotools.cpp:53: undefined reference to `gst_hailonvalve_get_type'
/usr/bin/ld: /home/ain/tappas/core/hailo/build.release/../plugins/gsthailotools.cpp:55: undefined reference to `gst_hailonv12togray_get_type'
/usr/bin/ld: /home/ain/tappas/core/hailo/build.release/../plugins/gsthailotools.cpp:56: undefined reference to `gst_hailograytonv12_get_type'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
@LJ-Hao
Copy link
Author

LJ-Hao commented Nov 5, 2024

Here is the link I refering:

https://github.com/hailo-ai/Hailo-Application-Code-Examples/tree/main/runtime/gstreamer/multistream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant