gpt4 book ai didi

c - 编译时出错: "fatal error: cmocka.h: No such file or directory compilation terminated."

转载 作者:行者123 更新时间:2023-11-30 21:18:46 27 4
gpt4 key购买 nike

我试图编写一个基本的单元测试。但我在编译时遇到错误:“ fatal error :cmocka.h:没有这样的文件或目录编译终止。”谁能帮我吗?

最佳答案

检查文件 cmocka.h 是否存在于编译器搜索包含的目录中。其他细节取决于您的编译器,并最终取决于您的 IDE。

关于c - 编译时出错: "fatal error: cmocka.h: No such file or directory compilation terminated.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15250457/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com