I want to run my simulation without opening the IDE. I checked the manual and follow the steps but I got stucked.
I am using omnetpp v5.6.2. I run mingwenv.cmd in the directory where my *.ini is and type this:
AFDX.exe -f C:/Workspaces/Github/AFDX/Simulations/AutoNetwork.ini -n C:/Workspaces/Github/AFDX/simulations
I got this in return:
OMNeT++ Discrete Event Simulation (C) 1992-2019 Andras Varga, OpenSim Ltd.
Version: 5.6.2, build: 200518-aa79d0918f, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
Setting up Qtenv...
Loading NED files from C:/Workspaces/Github/AFDX/simulations: 1
Loading images from 'bitmaps': *: 0
Loading images from 'images': *: 0
Loading images from 'C:/omnetpp-5.6.2/images': *: 0 abstract/*: 90 background/*: 4 block/*: 320 device/*: 195 logo/*: 1 maps/*: 9 misc/*: 70 msg/*: 55 old/*: 111 status/*: 28
and this:
So I added my src directory too
AFDX.exe -f C:/Workspaces/Github/AFDX/Simulations/AutoNetwork.ini -n "C:/Workspaces/Github/AFDX/simulations;C:/Workspaces/Github/AFDX/src"
This time I make it count all the ned files but still didn't work:
OMNeT++ Discrete Event Simulation (C) 1992-2019 Andras Varga, OpenSim Ltd.
Version: 5.6.2, build: 200518-aa79d0918f, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
Setting up Qtenv...
Loading NED files from C:/Workspaces/Github/AFDX/simulations: 1
Loading NED files from C:/Workspaces/Github/AFDX/src: 38
Loading images from 'bitmaps': *: 0
Loading images from 'images': *: 0
Loading images from 'C:/omnetpp-5.6.2/images': *: 0 abstract/*: 90 background/*: 4 block/*: 320 device/*: 195 logo/*: 1 maps/*: 9 misc/*: 70 msg/*: 55 old/*: 111 status/*: 28
As opposed to the error, there is an AFDX::ConnDef class actually and when I run the simulation by using the IDE, it works just fine.
I am adding my project directory structure too, maybe it'll help.
|>AFDX
__|>src
____|>queueinglib
______| *.ned
______| *.cc
______| *.h
____| *.ned
____| *.cc
____| *.h
____| ConnDef stuff is here
__|>simulations
____|>Results
____|AFDX.exe
____|AutoNetwork.ini
____|AutoNetwork.ned
____|Makefile
__|Makefile

