problem in running projects with command line (mingwenv.cmd)

568 views
Skip to first unread message

miss....@gmail.com

unread,
Oct 3, 2014, 8:02:25 AM10/3/14
to omn...@googlegroups.com
Hello dear friends,

I have no problem with running my project which has inet as a reference in IDE.
but when I want to run it through cmd (mingwenv.cmd) It cannot recognize the modules that I imported from inet
I copy and past the command that OMNET itself use for running my project when I run it through IDE.

I highlighted the Errors. It seems it cannot find the modules that I import from inet!

Fri0.exe -r 0 -n .;../inet/examples;../inet/src -l ../inet/src/inet omnetpp.ini

OMNeT++ Discrete Event Simulation  (C) 1992-2011 Andras Varga, OpenSim Ltd.

Version: 4.2.2, build: 120327-7947143, edition: Academic Public License -- NOT F

OR COMMERCIAL USE

See the license for distribution terms and warranty disclaimer

Setting up Tkenv...

Loading NED files from .: 2

Loading images from ./bitmaps: *: 0

Loading images from ./images: *: 0

Loading images from f:/alferedo/MPLS/omnet++/omnetpp-4.2.2-src-windows/omnetpp-4

.2.2/images: *: 0  abstract/*: 90  background/*: 4  block/*: 320  device/*: 195

 maps/*: 9  misc/*: 70  msg/*: 55  old/*: 111  status/*: 28

 

Plugin path: ./plugins

 

<!> Error in module (cCompoundModule) Net (id=1) during network setup: Submodule host0: cannot resolve module type `StandardHost' (not in the loaded NED files?), at f:\alferedo\MPLS\omnet++\omnetpp-4.2.2-src-windows\omnetpp-4.2.2\samples\Fri0\net.ned:34.

 

End.

sh: ../inet/examples: is a directory

sh: ../inet/src: is a directory

 

 



Message has been deleted

miss....@gmail.com

unread,
Nov 27, 2014, 1:36:35 PM11/27/14
to omn...@googlegroups.com

Adel

unread,
Apr 5, 2016, 4:54:53 AM4/5/16
to OMNeT++ Users
Hi,

Could you please send me what's written in that post? I'm not able to read it since I'm not a member of that group yet.
I have exactly the same problem as you had... and I don't know how to solve it.

Thank you so much,
Adel

miss....@gmail.com

unread,
Apr 5, 2016, 5:12:16 AM4/5/16
to OMNeT++ Users
Hi,

I cannot also open the group ...I dont know why

but the point is that :

Colon as the (ned) path separator (:) must be used instead of semicolon (;). 

hope it helps

best regards,


Adel Fuchs

unread,
Apr 5, 2016, 4:27:16 PM4/5/16
to omn...@googlegroups.com
Thank you for your help. I tried it out and it really solved the problem. But now, when I run the simulations from the Cmdenv (by adding to the command: -u Cmdenv) , I get a segmentation fault error.
Do you know how to solve that problem?

Thank you so much

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/02yUPeVYNmU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

miss....@gmail.com

unread,
Apr 5, 2016, 6:27:02 PM4/5/16
to OMNeT++ Users
Hi,

actually I dont know what is this error . sorry that I could not help you. Hope you can solve it soon ;)

Best regards.


On Friday, October 3, 2014 at 8:02:25 AM UTC-4, miss....@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages