libINET.dll not found

773 views
Skip to first unread message

ram lakhwani

unread,
Mar 11, 2010, 11:50:33 AM3/11/10
to omnetpp
Hi guys, i am new and strugling would apreceiate a hand. I have
imported INET-MANET and when executing a simulation doesn´t seem to
find a dll. I have checked the path and no libINET.dll there. Does
someone know what has gone wrong???


<!> Error during startup: Cannot load library 'C:/omnetpp-4.0/
ram_project/INET/src//libINET.dll': The specified module could not be
found.

Simulation terminated with exit code: 1
Command line: c:\omnetpp-4.0\bin/opp_run.exe -r 0 -n C:/omnetpp-4.0/
ram_project/INET/examples;C:/omnetpp-4.0/ram_project/INET/src -l C:/
omnetpp-4.0/ram_project/INET/src/INET C:/omnetpp-4.0/ram_project/INET/
examples/adhoc/ieee80211/omnetpp.ini

Working directory: C:/omnetpp-4.0/ram_project/INET/examples/adhoc/
ieee80211


Thanks.

Alfonso Ariza

unread,
Mar 11, 2010, 12:29:07 PM3/11/10
to omn...@googlegroups.com
Do you have compiler o linker problems?

If you are compiling the inetmanet in windows with the whole code the linker
will fail


--------------------------------------------------
From: "ram lakhwani" <ram...@gmail.com>
Sent: Thursday, March 11, 2010 5:50 PM
To: "omnetpp" <omn...@googlegroups.com>
Subject: [Omnetpp-l] libINET.dll not found

> --
> You received this message because you are subscribed to the Google Groups
> "omnetpp" group.
> To post to this group, send email to omn...@googlegroups.com.
> To unsubscribe from this group, send email to
> omnetpp+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/omnetpp?hl=en.
>
>

ram...@gmail.com

unread,
Mar 11, 2010, 12:51:12 PM3/11/10
to omn...@googlegroups.com
Hi Alfonso my situation is the following:

-->I have imported INET under c:\omnetpp-4.0 in windows platform with
the IDE. When building i dont seem to get any relevant errors

---> When i try to run an example from the IDE i get the missing dll
error and i check in the path and it is actually not there
----> When i try to run an examplo with CLI i get the folowing error:

eramrla@EV0016D4A13549 ~/INET/examples/wireless/lan80211
$ ./run
../../../src/run_inet: line 3: ../../../src/inet: No such file or directory

and the truth is that file is also not there. I am probably doing
something wrong when compiling but do not have enough expertise yet.

Please help!!!

Alfonso Ariza

unread,
Mar 11, 2010, 1:21:31 PM3/11/10
to omn...@googlegroups.com

compile the code and observe the output window, probably the linker aren't
create the libINET.dll file, in this case, if you are using the inetmanet,
the most probably cause of the problem is a number of files bigger that the
maximum number of files that the linker can handle

--------------------------------------------------
From: <ram...@gmail.com>
Sent: Thursday, March 11, 2010 6:51 PM
To: <omn...@googlegroups.com>
Subject: Re: [Omnetpp-l] libINET.dll not found

ram...@gmail.com

unread,
Mar 11, 2010, 1:37:10 PM3/11/10
to omn...@googlegroups.com
Hi Alfonso,

Very appreciated for your help but cannot get this started!!!

i attach the output i get when i press in IDE build for project INET
and also i attach the output i get when i try to run any example as an
Omnet++ simulation. Please see if you can find out the error cos I am
stuck with this and it is very anoying!!!

Thanks very much.

erroroutput.log
buildoutput.log

Alfonso Ariza

unread,
Mar 12, 2010, 4:55:29 AM3/12/10
to omn...@googlegroups.com
you have a problem in the file linklayer/ext/cSocketRTScheduler.cc an the
compilation has finished


See if you have this, in the file src/linklayer/ext/cSocketRTScheduler.cc

#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) ||
defined(__CYGWIN__) || defined(_WIN64)
#include <ws2tcpip.h>
#endif

--------------------------------------------------
From: <ram...@gmail.com>
Sent: Thursday, March 11, 2010 7:37 PM

1 1

unread,
Mar 12, 2010, 6:09:08 AM3/12/10
to omn...@googlegroups.com

Hi
 
I was having same problem. But the problem was solved when I installed the Wincap.  

ram...@gmail.com

unread,
Mar 14, 2010, 6:05:42 AM3/14/10
to omn...@googlegroups.com
Thanks Alfonso,

Awesome help!!!

Finally got this started.

Best Regards

Roger

unread,
Mar 18, 2010, 6:33:41 PM3/18/10
to omn...@googlegroups.com

Ladies and Gentlemen,

i have the following problem: when i
try to run project "extserver" under windows XP and omnet + + 4.0, i get the following message: "Error in module(ExtInterface) extServer.router1.ext[0] (id=12): cSocketRTScheduler::setInterfaceModule():pcap devices not supported".
Also, i've already installed WinPcap.
What should i do please be so that the program can run?
 
Please help me.
Thank you in advance

Sincerely,

Danja

Roger

unread,
Mar 18, 2010, 6:39:35 PM3/18/10
to omn...@googlegroups.com
Ladies and Gentlemen,

i have the following problem: when i
try to run project "extserver" from inet/examples/emulation/extserver/extServer.ned under windows XP and omnet + + 4.0, i get the following message: "Error in module(ExtInterface) extServer.router1.ext[0] (id=12): cSocketRTScheduler::setInterfaceModule():pcap devices not supported".
Also, i've already installed WinPcap.
What should i do please be so that the program can run?
 
Please help me.

Michael Tüxen

unread,
Mar 18, 2010, 6:42:25 PM3/18/10
to omn...@googlegroups.com

We have never tested the extInterface under Windows. And I'm not sure if it works,
since at least some versions of Windows do not allow sending IP packets with a
source address not owned by the stack when using raw sockets. But I'm not familiar
with Windows...

Any chance to use Linux or Mac OS X or FreeBSD or another flavor of Unix?

Best regards
Michael


> Thank you in advance
>
> Sincerely,
>
> Danja
>
>

Roger

unread,
Mar 19, 2010, 4:11:53 AM3/19/10
to omn...@googlegroups.com
Tank you very much Michael,

Best regards,
Danja



--- En date de : Jeu 18.3.10, Michael Tüxen <Michael...@lurchi.franken.de> a écrit :
> To unsubscribe from this group, send email to omnetpp+unsub...@googlegroups.com.

> For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.

--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to omnetpp+unsub...@googlegroups.com.

Roger

unread,
Mar 19, 2010, 4:40:01 AM3/19/10
to Michael...@lurchi.franken.de, omn...@googlegroups.com
Hi Michael, Ladies and Gentlemen,

how can i increase  in  project "extserver" the number of client , server and router so that all clients and servers send messages and receive under linux (Ubuntu)?
Thank you for your help in advance.


Best regards,
Danja



--- En date de : Ven 19.3.10, Roger <arrog...@yahoo.fr> a écrit :
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.

Michael Tüxen

unread,
Mar 19, 2010, 7:02:52 AM3/19/10
to Roger, omn...@googlegroups.com, Irene Rüngeler
Hi Danja,

not sure about projects, I never used the IDE. You need to configure
the number of ext interfaces. Then you need to configure a route
on the external hosts for the addresses in the simulation via the
IP address on the real interface which you are using for pcap.

You might want to read
http://portal.acm.org/citation.cfm?id=1416267

Best regards
Michael

Reply all
Reply to author
Forward
0 new messages