安装时 OMNeT++ 和 INET 示例中的参数未分配错误

Parameter unassigned error in OMNeT++ and INET examples on installation

我已经安装了 OMNeT++ 5.6.2 并添加了 INET 4.2.1 框架。 我按照给定的文档按照设置说明进行了编译并进行了制作。 在 运行 ./aloha 我似乎遇到如下参数未分配错误:

Setting up Cmdenv...

Loading NED files from .:  4

Preparing for running configuration General, run #0...
Assigned runID=General-0-20201227-14:11:08-9189
Setting up network "Aloha"...

<!> Error: The simulation wanted to ask a question, set cmdenv-interactive=true to allow it: "Enter parameter 'Aloha.host[0].iaTime' (unassigned):" -- in module (aloha::Host) Aloha.host[0] (id=3), during network setup

End.

即使在 运行 来自 INET 的不同示例中,临时的示例似乎也会出现类似的错误,如下所示:

Preparing for running configuration General, run #0...
Assigned runID=General-0-20201223-00:37:38-95889
Setting up network "Net80211"...

<!> Error: The simulation wanted to ask a question, set cmdenv-interactive=true to allow it: "Enter parameter 'Net80211.numHosts' (unassigned):" -- in module (omnetpp::cModule) Net80211 (id=1), during network setup

End.

Simulation terminated with exit code: 1

我确实在配置文件中设置了 cmdenv-intercative=true,但错误并没有消失。

如果您需要任何其他信息,请告诉我。任何帮助、方向或指向某些资源的指针都将不胜感激,并且真的很有帮助。

您需要为 [General] 部分设置“cmdenv-intercative=true”。