It is quite easy to install Artery on Linux based systems. You need to have a C++ Compiler with C++11 support as well as Boost and Vanetza libraries for building Artery. Also, you need one of Veins and INET. Of course, OMNeT++ and SUMO are also required.
./configure
and after this type make
.path/to/OMNeT/build
directory into your PATH
environment variable.omnetpp
. It is expected that the OMNeT++ development environment starts.libproj-dev
(on Debian or Ubuntu) installed../configure
. After the configuring was done, take a look at the Optional features summary
, which was printed at the end. It has to include the entry PROJ
in theEnabled:
list. This feature needs the above mentioned libproj-dev
and enables SUMO to provide geographic coordinates for each vehicle. Without this feature, the simulation will stop at run-time because of invalid coordinates.make
to build SUMO in the ./build
directory.path/to/your/sumo-version/build
to your PATH
environment variable.sumo-gui
.To install Artery, you need to have Vanetza, Veins and Inet. For the ease of installing, the Artery repository contains all these frameworks as sub-repository links. This ensures, that only compatible versions of *INET, Veins, and Vanetza are used with Artery.
make vanetza
. Vanetza will now be built in extern/vanetza/build
make inet
. Inet will now be built.make veins
. Veins will now be built in extern/veins/build
mkdir build
.cd build
cmake ..
cmake --build
Further information about building the above mentioned tools can be found at the following sources. This may be useful in case of an error.
Congrats, now you have all prerequisites to move forward and try to launch the first Artery example. How this is done is explained in the next section!