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

标签 linux opencv gstreamer system-administration

我是一个运行 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/

相关文章:

python - 程序在 while 循环的一帧后关闭

c++ - 获取2维cv::Mat的nonZero元素的值

android - 添加 RTMP 插件 (gstreamer-plugin-bad-0.10.23) 支持到 Gstreamer Android SDK 2013.6 Congo

无法使用函数 gst_element_link_many 链接 GStreamer 库中的元素

linux - EXPECT脚本,如何处理多页输出

java - Glassfish 无法在 RedHat 服务器上运行

linux - 预期:从输出和日志文件中删除颜色代码

python - Opencv 检测表格上的所有通用对象形状(鸟瞰图)

c++ - 关闭在线程上运行的 GStreamer RTSP 服务器

Java,试图编译,得到以下错误信息,这是什么意思?