Skip to content

"Class "inet::NetworkBase" not found" when running simulation from shell #1122

Closed Answered by rhornig
paintspot87 asked this question in Q&A
Discussion options

You must be logged in to vote
  1. the opp_run -h classes will not give you any INET related classes, because those are in the INET shared library (libINET.so) which must be loaded manually with the -l switch, but your issue is not related to this. The INET library is fine
  2. You copied the command line verbatim into the shell from the IDE. While the IDE indeed uses those parameters to start the app, the NED path is separated by ; (semicolons). Those semicolons are treated as command separators by the shell, so the second part of the command (which include the -l INET part to load INET) is not passed to opp_run causing the missing (not loaded) class definitions.

To fix this: put the NED package list after the exclusions (-x…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paintspot87
Comment options

Answer selected by paintspot87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants