При создании импортированного проекта возникает ошибка. Я использую gcc версии 9.
Я уже успешно собрал Inet 4.1. Я также пробовал это с какой-то другой версией gcc между 5 и 8, но произошли те же ошибки.
main.cc
In file included from /usr/include/c++/9/bits/stl_algo.h:66,
from /usr/include/c++/9/algorithm:62,
from /home/sebastian/Downloads/omnetpp-5.4.1/include/omnetpp.h:29,
from main.cc:20:
/usr/include/c++/9/bits/uniform_int_dist.h: In instantiation of ‘class std::uniform_int_distribution<double>’:
model/Showcase/Layer1/DummyWindPark/WindPowerGenerator.h:53:43: required from here
/usr/include/c++/9/bits/uniform_int_dist.h:60:49: error: static assertion failed: template argument must be an integral type
60 | static_assert(std::is_integral<_IntType>::value,
| ^~~~~
In file included from model/Showcase/Layer1/Windpark/WindParkNetwork.h:21,
from model/Showcase/Layer1/SmartParkingScenario.h:26,
from main.cc:26: