Error loading NED sources, inet, command

2,240 views
Skip to first unread message

ulyssis

unread,
Mar 24, 2013, 4:12:02 PM3/24/13
to omn...@googlegroups.com

Hello, 

I am wring a routing algorithm on the basis of the available routing scheme in INET.

I create one folder "bubble" in folder "int/src", and have all source files in the "bubble" folder.

As to the .ini and .NED files,  I modified the .ini file in folder of "/examples/manetrouting/fg80211"

In the .ini file, I added 

"[Config bubble]
**.routingProtocol="bubble"
"
besides, i also added the "ned-path" for Fg80211Net.ned file which is in the same folder of omnet.ini.


Then I start to compile and run the program, I compiled the whole inet folder, and get executable file "inet".

in the command prompt, I type 
"./inet -f ./examples/mannetrouting/fg80211/omnet.ini"


then error happens: 

<!> Error: Error loading NED sources from `../inet/examples/manetrouting/fg80211': NED error in file `Fg80211Net.ned': declared package `inet.examples.manetrouting.fg80211' does not match expected package `'.


I am puzzled with the "expected package". I must overlook something to modify, could somebody kindly tell me? 

Thanks!

ulyssis

unread,
Mar 26, 2013, 8:54:28 AM3/26/13
to omn...@googlegroups.com

hamideh jabalameli

unread,
Oct 4, 2013, 10:50:51 AM10/4/13
to omn...@googlegroups.com
Hi Dear DiLi

I also use INET directory for MPI over TCP and SCTP protocols in omnet 4.3. I want use kidsnw1 inet example for run MPI. at first I make Makefile with command

opp_makemake -f --deep -O out

make

therefor, inet was created, It is an executable file. I run ./inet. but the fallowing error :

<!> Error: Error loading NED sources from `.': NED error in file `KIDSNw1.ned': declared package `inet.examples.inet.kidsnw1' does not match expected package `'.

my error is like to your error.

but I am puzzled with the fallowing your link:

http://www.omnetpp.org/doc/omnetpp/manual/usman.html#sec310

Can you help me easier??

please help me. I have not more time. :((

hamideh jabalameli

unread,
Oct 4, 2013, 10:51:14 AM10/4/13
to omn...@googlegroups.com
Hi Dear DiLi

I also use INET directory for MPI over TCP and SCTP protocols in omnet 4.3. I want use kidsnw1 inet example for run MPI. at first I make Makefile with command

opp_makemake -f --deep -O out

make

therefor, inet was created, It is an executable file. I run ./inet. but the fallowing error :

<!> Error: Error loading NED sources from `.': NED error in file `KIDSNw1.ned': declared package `inet.examples.inet.kidsnw1' does not match expected package `'.

my error is like to your error.

but I am puzzled with the fallowing your link:

http://www.omnetpp.org/doc/omnetpp/manual/usman.html#sec310

Can you help me easier??

please help me. I have not more time. :((


On Tuesday, March 26, 2013 5:24:28 PM UTC+4:30, DiLi wrote:

Di Li

unread,
Oct 5, 2013, 6:57:28 AM10/5/13
to omn...@googlegroups.com
Hi, 

Please have to look at your .ini file, I guess you forgot to define your protocol there.

best wishes,


--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
---
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/zqfRxXd0o60/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
----------------------------------------------
Phone: +49 (0)241 80 21404


Reply all
Reply to author
Forward
0 new messages