gpt4 book ai didi

rtsp - Gst RTSP 服务器编程

转载 作者:行者123 更新时间:2023-12-02 00:30:22 24 4
gpt4 key购买 nike

我已经安装 gst-rtsp-server我想尝试一个简单的代码。但是在编译时我收到以下错误:

In function `main':
test-launch01.c:(.text+0x64): undefined reference to `gst_rtsp_server_new'
test-launch01.c:(.text+0x74): undefined reference to `gst_rtsp_server_get_media_mapping'
test-launch01.c:(.text+0x7d): undefined reference to `gst_rtsp_media_factory_new'
test-launch01.c:(.text+0x95): undefined reference to `gst_rtsp_media_factory_set_shared'
test-launch01.c:(.text+0xad): undefined reference to `gst_rtsp_media_factory_set_launch'
test-launch01.c:(.text+0xc9): undefined reference to `gst_rtsp_media_mapping_add_factory'
test-launch01.c:(.text+0xe9): undefined reference to `gst_rtsp_server_attach'
collect2: ld returned 1 exit status

我已经包含了两个标题。我错过了什么?

最佳答案

将 gstreamer-rtsp-server-1.0 添加到 pkg-config。

关于rtsp - Gst RTSP 服务器编程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7143581/

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