Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/134.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 正在尝试为gstreamer生成test launch.c,但未能生成_C++_Makefile_Gstreamer_Rtsp_Cflags - Fatal编程技术网

C++ 正在尝试为gstreamer生成test launch.c,但未能生成

C++ 正在尝试为gstreamer生成test launch.c,但未能生成,c++,makefile,gstreamer,rtsp,cflags,C++,Makefile,Gstreamer,Rtsp,Cflags,我正试图使用以下命令在我的ubuntu机器(i5)上构建: gcc -o test-launch test-launch.c `pkg-config --cflags --libs gstreamer-rtsp-server-1.0` 但它无法建立。我看到的错误消息如下: test-launch.c:(.text+0x170): undefined reference to `gst_rtsp_media_factory_set_enable_rtcp' 我已经安装了 libgstrtsp

我正试图使用以下命令在我的ubuntu机器(i5)上构建:

gcc -o test-launch test-launch.c `pkg-config --cflags --libs gstreamer-rtsp-server-1.0`
但它无法建立。我看到的错误消息如下:

test-launch.c:(.text+0x170): undefined reference to `gst_rtsp_media_factory_set_enable_rtcp'
我已经安装了

  • libgstrtspserver-1.0
  • libgstreamer1.0-dev
我很困惑,不知道是否有人能帮我:)

谢谢你的阅读


我有完整的构建日志。

您安装了什么版本的GStreamer?根据文档
gst\u rtsp\u media\u factory\u set\u enable\u rtcp()
是在GStreamer 1.20中引入的,该版本尚未发布