c++ - 在 Windows 中构建 gstreamer 插件所需的环境

标签 c++ windows cygwin gstreamer

为了在 Windows 上构建 gstreamer 插件(songbird 插件需要),我已经努力了两周。

我已经安装了 MSYS、MinGW 和 Cygwin,然后安装了 GStreamer OSSBuild,我还下载了 Songbird 的源代码,它们带有自己的 gstreamer 预编译版本。

我无法从 songbird 源运行 gst-inspect(或任何其他 gstreamer 应用程序),我想我将满足于 OSSBuild(因为我能够从编译的 OSSBuild 运行 gst-inspect)。

按照构建 GST 插件 ( found here ) 的说明进行操作时,cygwin 将无法识别 OSSBuild,并且在运行 autogen 时构建失败,并出现以下错误:

checking for GST... no
configure: error:
      You need to install or upgrade the GStreamer development
      packages on your system. On debian-based systems these are
      libgstreamer0.10-dev and libgstreamer-plugins-base0.10-dev.
      on RPM-based systems gstreamer0.10-devel, libgstreamer0.10-devel
      or similar. The minimum version required is 0.10.16.

configure failed

我也无法使用 MSYS 或 MinGW,因为它们根本无法运行 autogen。

我知道 cygwin should have it's own gstreamer development packages但我找不到如何安装它们。

我的问题:如何在 cygwin 中安装 gstreamer 包,或者如何使用带有 OSSBuild 依赖项的 cygwin 进行构建?

简而言之,如何获得可以在 Windows 下构建 gstreamer 插件的环境?

最佳答案

您可以在 cygwinports 为 cygwin 安装预编译的 gstreamer 包.在那里你会找到安装说明和 list可用的包。您不需要从源代码构建它们。

关于c++ - 在 Windows 中构建 gstreamer 插件所需的环境,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2996565/

相关文章:

python - Windows下的PyGObject : Could not locate gdk_pixbuf_new_from_file

linux - 如何查看ELF文件中包含的函数名和参数?

c++ - 使用循环在 C++ 中移动 Sprite (SFML)

c++ - 使显式堆栈算法更快

C++ SetConsoleCursorPosition (GetStdHandle(STD_OUTPUT_HANDLE), c) 2 个参数

c++ - 实现 De Boors 算法以查找 B 样条上的点

linux -/proc/self/maps 在 Windows 上等效

python - 尝试删除具有 Unicode 名称的文件夹

assembly - Cygwin:汇编语言开发?

linux - 在 .bash_profile 中从哪里获取 .profile 以在 Cygwin 中安装 RVM?