【问题标题】:sdk can build my cmake project but recipe in bitbake can'tsdk 可以构建我的 cmake 项目,但 bitbake 中的配方不能
【发布时间】:2019-12-01 02:08:12
【问题描述】:

我可以使用 yocto 为我生成的工具链来构建我的项目。但是当我编写一个用于构建并将其添加到图像中的配方时,我在 do_compile 中遇到了这个错误:

fatal error: stdio.h: NO such file or directory

为什么会发生这种情况以及如何解决?

【问题讨论】:

  • 你应该添加你的食谱和完整的错误日志。

标签: sdk yocto


【解决方案1】:

我发现了问题。我在我的 CMakeList.txt 中设置编译器标志。全部删除后问题就解决了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-07-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-14
    • 2022-11-11
    • 2012-01-19
    相关资源
    最近更新 更多