To run Omnet++ from command prompt, how to solve liboppcmdenvd.dll is missing error? -
i want run omnet++ project using command prompt. trying execute .exe file using cmd prompt showing me system error- "the program can't start because liboppcmdenvd.dll missing computer. try reinstalling program fix problem". reinstalled program still showing same error. can please tell me .dll file , how resolve error? , there way run omnet++ command prompt , write result file without opening graphical simulation interface? thank you.
it possible run omnet++ simulation without eclipse in windows. setting paths omnet++ libraries mingw binaries important. assume that:
- you use omnet++ 4.6
- omnet++ installed in
e:\omnetpp\omnetpp-4.6 - your model called
wireless1, located ine:\omnetpp\omnetpp-4.6\samples\wireless1 - your model depends on
mixim 2.3 - mixim-2.3 located in
e:\omnetpp\samples\mixim, built
1.append following path windows system path variable: e:\omnetpp\omnetpp-4.6\bin;e:\omnetpp\omnetpp-4.6\tools\win32\mingw32\bin;e:\omnetpp\samples\mixim\src
2.the list of directories ned files in mixim has prepared. following:
- open
mingwenv.cmd - in mingw console type
cd /e/omnetpp/omnetpp-4.6/samples/wireless1
then
find ../mixim/ -name "*.ned" -printf '%h\n'| sort -u > list1.txt
then
tr '\n' ';' < list1.txt > list2.txt
3.in e:\omnetpp\omnetpp-4.6\samples\wireless1 directory create new text file following content:
@echo off wireless1.exe -u tkenv -l mixim -n [content of list2.txt] ..\simulations\omnetpp.ini where after -n have paste whole content of list2.txt (without last ; , without [,]).
save file standalone.bat , double-click on start simulation. results of simulation written *.sca , *.vec files in simulations\results. in order run without gui change -u tkenv -u cmdenv.
Comments
Post a Comment