How do I run the sample simulation using Veins + SUMO + OMNet++

1,157 views
Skip to first unread message

Niaz Morshed Chowdhury

unread,
Sep 16, 2013, 9:58:01 AM9/16/13
to omn...@googlegroups.com
Dear experts,

Pleases accept my apology in advance, if I ask something very silly!

I have been trying to run the sample simulation presented in Veins Tutorial[1]. I found the tutorial very friendly and easy to understand as I completed all required steps in less than an hour. But, once I try to run Veins simulation from OMNet++, an error message shows up telling that veins.exe is not found! I also noticed that at step 4, if I run sumo-gui.exe, MingW32 stops working. So, while running the simulation, I didn't use Sumo graphical interface.

At this stage my questions are:

1. What might trigger this error?
2. While running Veins for the first time, I had a window asking to select an option. It includes BaseNetwork, AllTestCases etc. I selected Veins from that option list. Am I going in the right direction?
3. Any suggestion on running Sumo graphical interface?

I will appreciate anyone kindly answer me with suggestion or at least some guidance so that I can run the sample simulation.

Kind regards,

- Niaz Morshed Chowdhury

[1] veins.car2x.org/tutorial/

Christoph Sommer

unread,
Sep 17, 2013, 10:19:50 AM9/17/13
to omn...@googlegroups.com
Niaz Morshed Chowdhury wrote:
> once I try to run Veins simulation from OMNet++, an error message
> shows up telling that veins.exe is not found
[...]
> While running Veins for the first time, I had a window asking to
> select an option. It includes BaseNetwork, AllTestCases etc. I selected
> Veins from that option list.

The Veins example does not include any custom modules. You should be
able to launch it using opp_run (making sure it loads the miximbase and
miximmodules libraries).


If you want to run the simulation from the IDE, the following steps
might work:

- From the `Run' menu, choose `Run Configurations...'
- Select the run config that OMNeT++ created for the example simulation
(most probably called `veins')
- In the `Executable' group, choose `opp_run' instead of `Other: veins.exe'
- Click Apply
- Click Run


Best,

Christoph

--
Dr.-Ing. Christoph Sommer
Institute of Computer Science
University of Innsbruck, Austria
Phone: +43 512 507-53285 / Fax: -53079
http://ccs.uibk.ac.at/~sommer/

Shikha Soni

unread,
Mar 26, 2014, 10:47:12 PM3/26/14
to omn...@googlegroups.com

Hi Niaz,

I am working on VANET as my final year project. I really wish to know your code and, also the way you interfaced Veins, Omnetpp and SUMO in order to run your project. Also the solution to the error that occurred in your project.
Thank You
Reply all
Reply to author
Forward
0 new messages