【问题标题】:ubuntu 16 install gstreamer but gstreamer-plugins-base-1.0.pc file is not found anywhereubuntu 16 安装 gstreamer 但 gstreamer-plugins-base-1.0.pc 文件在任何地方都找不到
【发布时间】:2019-02-02 04:50:28
【问题描述】:

(使用 ubuntu 16 0n 我的 mac pro。)

要集成gstreamer和pocketsphinx,我需要三个.pc文件,正如官网所说:

  • gstreamer-1.0.pc
  • gstreamer-base-1.0.pc
  • gstreamer-plugins-base-1.0.pc

我启动了一个新的空 ubuntu 18。 通过

安装gstreamer
$ sudo apt-get install libgstreamer1.0-dev

但是三个重要的 .pc 文件中只有两个在上一个命令之后存在。 如果我 cd 到 /usr/ 并运行:

sudo find . -print | grep -i 'gstreamer-plugins-base-1.0'

终端返回空(未找到)。 同时, sudo find . -print | grep -i 'gstreamer-base-1.0'

sudo find . -print | grep -i 'gstreamer-1.0'

会给我正确的路径。

缺少的 gstreamer-plugins-base-1.0.pc 文件在哪里?谢谢。

如果.pc文件只有两个而不是三个,pocketsphinx的配置将不起作用。

【问题讨论】:

  • **sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev ** 帮助我生成了缺少的 gstreamer-plugins-base-1.0.pc 文件。

标签: plugins gstreamer apt-get pocketsphinx


【解决方案1】:

**sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev**

帮助我生成了缺失的 gstreamer-plugins-base-1.0.pc 文件。 这两个是必需的。

【讨论】:

    猜你喜欢
    • 2014-10-22
    • 2019-04-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-16
    相关资源
    最近更新 更多