net/rime.h错误使用cooja,如何安装它,而不仅仅是下载它?

发布于 2025-01-25 06:24:13 字数 556 浏览 5 评论 0 原文

我正在尝试在Cooja中进行一个简单的模拟(实际上是contiki网站上的示例)。

但是,我有一条错误消息链接到我的#include“ net/rime.h”,库奥贾在编译时输出以下消息: 致命错误:net/rime.h:没有这样的文件或目录

我以为我在官方网站上安装了contiki-ng时,它与contiki一起出现。我的快速修复是从GitHub存储库下载文件并将其存储在我的Active Directory中。但是我觉得很丑,有没有办法安装此库?因为我还没有找到方法。

多谢。

这个问题接近 this

I am trying to do a simple simulation in Cooja (literally the example on the Contiki website here).

However I have an error message linked to my #include "net/rime.h", Cooja outputs the following message while compiling:
fatal error: net/rime.h: No such file or directory

I thought that it came with Contiki when I've installed contiki-ng following the procedure on the official website. My quick fix was to download the file from the github repository and store it in my active directory. However I find it quite ugly, is there a way to install this library ? Because I haven't found a way yet.

Thanks a lot.

It's a question close to this one.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空气里的味道 2025-02-01 06:24:14

您正在使用哪种方法来启动库奥贾?直接在SO上?在码头机上?

记住使用该命令

git submodule update --init --recursive

我建议您De Docker Way,并在克隆GIT存储库后

。另外,如果您使用的是Docker,请检查DE主机和容器之间的contiki文件夹的绑定是否正确。

Which kind of method are you using to start Cooja? Directly on the SO? Over Docker?

I recommend you de Docker way, and remember to apply the command

git submodule update --init --recursive

after cloning the git repository.

Also, if you are using Docker, check if the binding of the Contiki folders between de Host and the Container are correctly made.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文