gpt4 book ai didi

compiler-errors - make ***没有规则使目标 'obj_sky/neighbour-attr.o' contiki-cooja模拟错误

转载 作者:行者123 更新时间:2023-12-02 10:42:34 25 4
gpt4 key购买 nike

我正在尝试在contiki-2.7操作系统上的cooja模拟器中编译示例代码。 Contiki是用于物联网应用程序的操作系统。在硬件中实现之前,首先要在cooja模拟器中测试代码。

出于研究目的,我在虚拟盒子中安装了contiki-2.7,并尝试在cooja模拟器中执行一些代码。

但是我无法为此模拟编译任何示例代码。

对于任何代码的编译,模拟器都会向我显示错误

enter image description here

enter image description here

enter image description here

如何解决此错误。对我来说很重要。我在Google中没有足够的资源。

提前致谢。

最佳答案

它的意思是,
要编译程序,您需要在系统中安装一些必要的软件包。
例如:
由于您的代码是用C编程语言编写的,因此需要安装gcc进行编译。
同样,
您可能需要gcc-msp430,msp430-libc,gcc-avr,binutils-avr等软件包。

要安装这些软件包,请单击以下apt命令

sudo apt-get install build-essential binutils-msp430 gcc-msp430  msp430-libc binutils-avr gcc-avr gdb-avr avr-libc  avrdude openjdk-7-jdk openjdk-7-jre ant libncurses5-dev doxygen git

[给您:引用是
http://sens-space.blogspot.com/2014/11/contki-and-cooja-installation-in-ubuntu.html
]

关于compiler-errors - make ***没有规则使目标 'obj_sky/neighbour-attr.o' contiki-cooja模拟错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52696190/

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