When I want to run "ant run" in contiki-3.9/tools/cooja, I am facing following error:
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"?
but actually I ran
git submodule init
git submodule update
before using "ant run".
Please help me on this problem, I'm new to contiki-os and should use it for my master thesis
/contiki/tools/cooja/ - This folder has Cooja Simulator source code. You can run Cooja inside this directory. /contiki/examples/hello-world/ - This has the source code of Hello World example.
Contiki is an operating system with a focus on low power IoT devices. Cooja is the Contiki network simulator. Cooja allows the large and small networks of Contiki motes to be simulated. This article takes the reader through the process of programming IoT with Contiki and Cooja.
You simply need to download Instant Contiki, which is a virtual machine created with all necessary toolchains and software for ContikiOS development. After downloading Instant Contiki you need also to download either VMWare Player or VirtualBox, if you are using Windows as your host OS.
The following worked for me:
Enjoy!
contiki/tools/cooja
git submodule update --init
in the terminalant run
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With