Contiki OS之Cooja启动失败

使用contiki的cooja仿真软件的时候,遇到了启动失败的问题。找了网上资料,现将适用于我的问题的解决方法总结如下。


contiki-3.0/tools/cooja目录下运行命令: ant run

出现错误信息:

BUILD FAILED 

/home/user/contiki-3.0/tools/cooja/build.xml:199: The following error occurred while executing this line: /home/user/contiki-3.0/tools/cooja/apps/mspsim/build.xml:29: - Could not find the MSPSim build file. Did you run "git submodule update --init"?

解决方法:

1)检查contiki/tools/mspsim 是否是空的文件夹;

2)下载mspsim( https://github.com/contiki-os/mspsim);

3)用刚下载的mspsim-master解压后更名为“mspsim”,替换空的mspsim文件夹。

问题解决  :)


来源:https://stackoverflow.com/questions/32814364/running-cooja-in-contiki-with-cmd-ant-run



你可能感兴趣的:(学习笔记,配置环境)