【问题标题】:Raspberry Pi Buildroot Gstreamer gst.h no such file树莓派 Buildroot Gstreamer gst.h 没有这样的文件
【发布时间】:2019-04-05 00:19:57
【问题描述】:

我正在尝试完成我在 YouTube 上找到的视频教程,以将定制版本的 linux 编译到 Raspberry Pi (https://www.youtube.com/watch?v=84T-P5ye864)。在我第二天早上醒来之前,编译进行了几个小时,它已经停止在 99%,我得到了这个错误。然后我继续安装 libgstreamer 和许多其他软件包以尝试获取此文件。似乎我所做的一切都不允许 buildroot 看到 gst.h 文件。我不知道该怎么办,我什至手动将路径包含在 gstreamer 的 .mk 文件中。似乎没有任何效果。

[ 99%] Built target webkit2gtkinjectedbundle
make[3]: Entering directory '/home/user/Downloads/buildroot-2018.02.7/output/build/webkitgtk-2.22.2'
make[3]: Leaving directory '/home/user/Downloads/buildroot-2018.02.7/output/build/webkitgtk-2.22.2'
make[3]: Entering directory '/home/user/Downloads/buildroot-2018.02.7/output/build/webkitgtk-2.22.2'
[ 99%] Building C object Tools/MiniBrowser/gtk/CMakeFiles/MiniBrowser.dir/main.c.o
/home/user/Downloads/buildroot-2018.02.7/output/build/webkitgtk-2.22.2/Tools/MiniBrowser/gtk/main.c:32:21: fatal error: gst/gst.h: No such file or directory
 #include <gst/gst.h>
                 ^
compilation terminated.

【问题讨论】:

  • 这不应该发生,很明显。您是进行了完全干净的构建,还是在第一次开始构建后进行了更改? webkitgtk 在构建之前检查 gst 库的存在,所以这真的不应该发生。您可以将 .config 文件上传到 pastebin 进行评估吗?顺便说一句,请注意 StackOverflow 并不是真正报告问题的地方;你最好在 Buildroot 邮件列表或 IRC 上。

标签: gcc makefile cross-compiling raspberry-pi3 buildroot


【解决方案1】:

与大多数类似的事情一样,它可以通过简单的方式解决

make clean
make all

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-07-21
    • 1970-01-01
    • 2017-02-10
    • 2021-10-28
    • 1970-01-01
    相关资源
    最近更新 更多