Anno Accademico 2022/23, Stefano Fontana, Elena Tonini.
First of all you should clone the repository with all its submodules
$ git clone [email protected]:tetofonta/vehicular-networks-and-cooperative-driving.git --recursive
Then you should install all the required dependencies:
- cmake minimum version 3.22:
apt install cmake
- omnetpp minimum version 6.0, and it should be inserted into the path variable:
PATH="$PATH:/path/to/omnetpp/bin"
- veins minimum version 5.2, and it should be inserted into the path variable:
PATH="$PATH:/path/to/veins/bin"
- plexe (michele-segata/plexe) minimum version 3.1, and it should be inserted into the path variable:
PATH="$PATH:/path/to/plexe/bin"
$ cd vehicular-networks-and-cooperative-driving
$ cmake -B "$PWD/build" -S "$PWD" -DCMAKE_BUILD_TYPE=Debug
$ cmake --build $PWD/build --target libvncd -j $(nproc)
$ cmake --build $PWD/build --target run_vncd
cd vehicular-networks-and-cooperative-driving
cmake -B "${PWD}/build" -S "$PWD" -DCMAKE_BUILD_TYPE=Release
cmake --build "${PWD}/build" --target libvncd -j $(nproc)
cmake --build "${PWD}/build" --target runmaker
runmaker4.py "${PWD}/build/runs.txt" -j $(nproc)