'Error: network 'Scenario' not found
I have installed veins-4.5 and I can run the Erlangen example. However, when I try to run the example in the subprojects/veins_inet folder it gives "Error: Network 'Scenario' not found, check .ini and .ned files" However the Scenario.ned is in the same folder as omnetp.ini. How do I solve this problem? Many thanks.
Solution 1:[1]
If you are using the interface graphic, do it: click in subprojects/veins_inet and next in omnet ++ project -> build all.
Solution 2:[2]
Another cause for that error is that the .ini isn't correct. In particular, if you wish to simulate using Gui (Tkenv), your .ini file should include something like:
[Config MyNetwork]
However, for a command-line simulation (Cmdenv), the .ini file should read instead:
cmdenv-config-name = MyNetwork
in the latter case, you should also add "-u Cmdenv" to your run command. Confusing between the 2 options above raises the error ""Error: Network '...' not found, check .ini and .ned files".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | AtrĂcia Sabino |
Solution 2 | Itamar cohen |