Hello,
I sent an email earlier but I did not get an answer yet. I am using omnet++ 4.0 and mingw on windows xp and I have the latest release of the INET Framework (I'm using the INET Fork).
I installed the INET framework exactly as told here: http://www.omnetpp.org/pmwiki/index.php?n=Main.HowToImportInet
The inet framework is located at c:/omnetpp-4.0/inet
So I compiled the framework and everything worked ok. But running the example simulations result in errors. When I try launching an INET framework example from the IDE (e.g. 802.11 Handover) and press launch there is an error:
"Error running the simulation program: couldn't execute "run": no such file or directory!"
I also tried running the simulation from the mingw shell but it did not work.
1. When i type "run" at the corresponding example simulation directory (e.g. c:/omnetpp-4.0/inet/examples/wireless/lan80211 I get the following error:
<!> Error during startup: Cannot load library '../../../src/libinet.dll' : The specified module could not be found
2. Instead of command "run" I tried "opp_run" but I also get an error from that:
<!> Error: Error loading NED sources from '.' : NED error in file 'Lan80211.ned' : declared package 'inet.examples.wireless.lan80211' does not mach expected package ' '.
3. There's a line "package inet.examples.wireless.lan80211; " in the Lan80211.ned so I try commenting it out:
The Tkenv and the configuration option pops up and I select "Ping1", but it results again in an error:
Error in module (cCompoundModule) Lan80211 (id=1): Submodule host: cannot resolve module type 'WirelessHostSimplified' (not in the loaded NED files?), at c:\omnetpp-4.0\inet\examples\wireless\lan80211\Lan80211.ned:34
So my guess is that the example simulation cannot seem to find the approriate files needed. Is this because of the wrong installation directory?
Thank you
Hello,
I sent an email earlier but I did not get an answer yet. I am using omnet++ 4.0 and mingw on windows xp and I have the latest release of the INET Framework (I'm using the INET Fork).
I installed the INET framework exactly as told here: http://www.omnetpp.org/pmwiki/index.php?n=Main.HowToImportInet
The inet framework is located at c:/omnetpp-4.0/inet
So I compiled the framework and everything worked ok. But running the example simulations result in errors. When I try launching an INET framework example from the IDE (e.g. 802.11 Handover) and press launch there is an error:
"Error running the simulation program: couldn't execute "run": no such file or directory!"
I also tried running the simulation from the mingw shell but it did not work.
1. When i type "run" at the corresponding example simulation directory (e.g. c:/omnetpp-4.0/inet/examples/wireless/lan80211 I get the following error:
<!> Error during startup: Cannot load library '../../../src/libinet.dll' : The specified module could not be found
2. Instead of command "run" I tried "opp_run" but I also get an error from that:
<!> Error: Error loading NED sources from '.' : NED error in file 'Lan80211.ned' : declared package 'inet.examples.wireless.lan80211' does not mach expected package ' '.
3. There's a line "package inet.examples.wireless.lan80211; " in the Lan80211.ned so I try commenting it out:
The Tkenv and the configuration option pops up and I select "Ping1", but it results again in an error:
Error in module (cCompoundModule) Lan80211 (id=1): Submodule host: cannot resolve module type 'WirelessHostSimplified' (not in the loaded NED files?), at c:\omnetpp-4.0\inet\examples\wireless\lan80211\Lan80211.ned:34
So my guess is that the example simulation cannot seem to find the approriate files needed. Is this because of the wrong installation directory?
Thank you
_______________________________________________
Omnetpp-l mailing list
Omne...@omnetpp.org
http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
<!> Error during startup: Cannot load library 'C:\omnetpp-4.0\inet\src\\/libinet.dll': The specified module could not be found.
Simulation terminated with exit code: 1
Command line: C:/omnetpp-4.0/inet/examples/ethernet/arptest/run.cmd -r 0 -n C:/omnetpp-4.0/inet/examples;C:/omnetpp-4.0/inet/src -l C:/omnetpp-4.0/inet/src/inet C:/omnetpp-4.0/inet/examples/ethernet/arptest/omnetpp.ini
Working directory: C:/omnetpp-4.0/inet/examples/ethernet/arptest
OMNETPP_ROOT=C:/OMNETPP-4.0
PATH=;C:/OMNETPP-4.0/INET/SRC;C:\OMNETPP-4.0\BIN;C:\OMNETPP-4.0\MSYS\BIN;C:\OMNETPP-4.0\MINGW\BIN;C:/PROGRAM FILES/JAVA/JRE1.6.0_07/BIN/CLIENT;C:/PROGRAM FILES/JAVA/JRE1.6.0_07/BIN;.;C:\OMNETPP-4.0\MSYS\LOCAL\BIN;C:\OMNETPP-4.0\MINGW\BIN;C:\OMNETPP-4.0\MSYS\BIN;C:\OMNETPP-4.0\BIN;C:\PROGRAM FILES\PC CONNECTIVITY SOLUTION\;D:\PERL\BIN\;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\PROGRAM FILES\UTIMACO\SAFEGUARD EASY\;C:\PROGRAM FILES\MATLAB\R2007A\BIN;C:\PROGRAM FILES\MATLAB\R2007A\BIN\WIN32;C:\PROGRAM FILES\MATLAB\R2006B\BIN;C:\PROGRAM FILES\MATLAB\R2006B\BIN\WIN32;C:\PROGRAM FILES\MICROSOFT SQL SERVER\90\TOOLS\BINN\;C:\PROGRAM FILES\COMMON FILES\SYMBIAN\TOOLS;C:\PROGRAM FILES\CSL ARM TOOLCHAIN\BIN;C:\PROGRAM FILES\QUICKTIME\QTSYSTEM\;C:\PROGRAM FILES\WINDOWS IMAGING\;C:\OMNETPP-4.0\BIN\;V:\SQL125\OCS-12_5\DLL;V:\SQL125\OCS-12_5\BIN;.;C:\PROGRAM FILES\SSH COMMUNICATIONS SECURITY\SSH SECURE SHELL
OMNETPP_IMAGE_PATH=C:\OMNETPP-4.0\IMAGES
And yes I have included the C:\omnetpp-4.0\bin to the system path.
Hello"I don't know what is in your launch configuration but you should check it, or delete it and recreate it. One good way is to select the omnetpp.ini file in the corresponding project and select Run As... from the context menu."I also tried running the simulation from the IDE by selecting Run As.. Omnet++ Simulation from the corresponding omnetpp.ini but following error occurs:<!> Error during startup: Cannot load library 'C:\omnetpp-4.0\inet\src\\/libinet.dll': The specified module could not be found.
Simulation terminated with exit code: 1
Command line: C:/omnetpp-4.0/inet/examples/ethernet/arptest/run.cmd -r 0 -n C:/omnetpp-4.0/inet/examples;C:/omnetpp-4.0/inet/src -l C:/omnetpp-4.0/inet/src/inet C:/omnetpp-4.0/inet/examples/ethernet/arptest/omnetpp.ini