gpt4 book ai didi

linux - Gst-plugin-base 从源失败构建

转载 作者:太空宇宙 更新时间:2023-11-04 12:50:01 24 4
gpt4 key购买 nike

我是一个运行 cent-os linux 的非根用户,我必须在我的远程机器上安装 opencv...所以我从源文件安装它...即分三步:1../configure 2.make 3.make install ....我在安装 gst-plugin-base 时遇到这个问题...执行 make 命令我收到此错误...我不知道这是由于某些依赖项缺失还是其他原因造成的

error:
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_buffer_copy_deep'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `_gst_value_array_type'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_util_group_id_next'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_segment_position_from_running_time'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_buffer_list_copy_deep'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_event_parse_group_id'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_sample_set_buffer_list'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_segment_to_running_time_full'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_buffer_pool_config_validate_params'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `_gst_tag_list_type'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_event_set_group_id'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_message_set_group_id'
/global/home/bharat/lib/libgstbase-1.0.so.0: undefined reference to `gst_meta_api_type_get_tags'
collect2: error: ld returned 1 exit status
make[4]: *** [scrubby] Error 1
make[4]: Leaving directory `/global/home/bharat/opencv-tar/gst-plugins-base-1.0.0/tests/examples/seek'
make[3]: *** [seek] Error 2
make[3]: Leaving directory `/global/home/bharat/opencv-tar/gst-plugins-base-1.0.0/tests/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/global/home/bharat/opencv-tar/gst-plugins-base-1.0.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/global/home/bharat/opencv-tar/gst-plugins-base-1.0.0'
make: *** [all] Error 2

最佳答案

我认为您忘记正确设置对 gstreamer 核心的依赖性。检查此 faq .. 关于 PKG_CONFIG_PATH 的部分 .. 如果你只想测试一些你可以使用的东西 gst-uninstalled - 更多信息如何使用它 here

关于linux - Gst-plugin-base 从源失败构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37561013/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com