Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Getting started

Mateusz Czarnecki edited this page Jun 27, 2017 · 3 revisions

Installation

  1. Clone the repository

    git clone https://github.com/Blackstaff/wsn_routing.git

  2. Clone modified INET (v 3.5) framework into the same workspace folder as wsn_routing

    git clone -b wsn_routing_fixes --single-branch https://github.com/Blackstaff/inet.git inet

Compile and run (CMD)

  1. Compile inet (run in inet folder):

     make makefiles
     make -j 8
    

    You can use -j [N] flag to parallelize compilation

  2. Compile wsn_routing (run in wsn_routing folder):

     make makefiles
     make -j 8
    
  3. Run simulation

     cd wsn_routing/simulations
     ../src/routing -m -u Qtenv -n "../src;.;../../inet/src" -l ../../inet/src/INET sim.ini
    

Clone this wiki locally