I already installed and tested the Veins v4a2 successfully (with the RSUexample included). In order to add the ITS-G5 application layer to the Veins, I tried to use the "Artery" unsuccessfully as when trying to run the example, it throws an error like:
Error in module (cModule) RSUExampleScenario (id=1) during network setup: Class "Veins::ObstacleControl" not found Perhaps its code was not linked in, or the class wasn't registered with >
Register_Class()
, or in the case of modules and channels, with >Define_Module()
/Define_Channel()
.
The steps I followed are:
- Download Vanetza (and the modules required)
- Build Vanetza with no errors
- Download Artery
- Build Artery liked with Vanetza with no errors
- Copy the "Artery" folders and files (examples, src, tests, Makefile, configure...), to the Veins folder, overwriting the files.
- The build of the Veins is done correctly, but the execution of both (artery and veins) examples fail with the showed error.
Actually, the same error raises if I try to run the Artery or RSU examples from the Artery code directly, without the Veins code (it seems as the Artery code constains the Veins already).
Has anybody faced this issue before?