Я внедряю vanet с OMNeT ++ 5.3 и Veins 4.7.1, но у меня возникают ошибки, которые я не могу устранить.
код:
public:
SienaStatisticsAccess() { }
SienaStatistics* getIfExists() {
//Finds a module by its path.
return dynamic_cast<SienaStatistics*>(simulation.getModuleByPath("stats"));
}
Ошибка:
'simulation’ was not declared in this scope