urgent help: not able to build, or run, error=2 no such file or directory

625 views
Skip to first unread message

wx1...@my.bristol.ac.uk

unread,
Oct 11, 2016, 6:40:05 AM10/11/16
to OMNeT++ Users

Dear all,

Could you please help me?

I downloaded source code of Joanne's from https://github.com/chaotictoejam/VANETProject/tree/oldinet, which combined INET and Veins(Thanks a lot for your sharing, Joanne). However, error message appears like the following when I run it:
 
''Exception occurred executing command line.
Cannot run program "/home/Toshiba/omnetpp-5.0/samples/VANETSim/src/VANETSim" (in directory "/home/Toshiba/omnetpp-5.0/samples/VANETSim/simulations/aodvuu"): error=2, No such file or directory''

I'm not able to build the project. When I right click VANETSim and choose Build Project, no react from IDE. Am I missing something? I run the omnetpp.ini file from /home/Toshiba/omnetpp-5.0/samples/VANETSim/simulations/aodvuu, but there is no VANETSim folder in src folder.

What should I do? Please help me Thank you so so much! 

Alfonso Ariza Quintana

unread,
Oct 11, 2016, 7:53:49 AM10/11/16
to omn...@googlegroups.com

Are you sure that you have could build the program?

 

I have checked the repository and the file .cproject is not present, without this file eclipse cannot build the program

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, 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.

wx1...@my.bristol.ac.uk

unread,
Oct 11, 2016, 10:01:28 AM10/11/16
to OMNeT++ Users, aari...@hotmail.com

  1. Thanks a lot for pointing that out. The repository is supposed to work but I never built it successfully before. I'm new in OMNet++. Would you please tell me what .cproject files are or give me an exanmple?

  2. I'm simulating 802.11p with Veins. For all I know, there are no UDP(TCP)/IP in Veins, am I right?

  3. I'm now trying to combine Veins with INet, using some Transport layer and Network layer mudules from INET in Veins. For example, I would like to use IUDP as the transport layer for Veins: I modified the Car.ned file in Veins, adding UDP related submodules and changing connections accordingly. However, problems just kept coming up. Could you please give me some suggestions on how to implement UDP and TCP in veins?  Do I need to modify the NED file and then modify the corresponding C++ file?  Another Problem is how to find the corresponding C++ file?


Thank you so so much!

Message has been deleted

Alfonso Ariza Quintana

unread,
Oct 11, 2016, 11:25:28 AM10/11/16
to omn...@googlegroups.com

https://github.com/inet-framework/inet/blob/master/.cproject

 

This is the .cproject file of inet-framework, eclipse needs .cproject file to compile c++ projects

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Wanru Xie
Enviado el: martes, 11 de octubre de 2016 17:09
Para: omn...@googlegroups.com
Asunto: Re: [Omnetpp-l] urgent help: not able to build, or run, error=2 no such file or directory

 

[          ]Hi Alfonso,

  1. Thanks a lot for pointing that out. The repository is supposed to work but I never built it successfully before. I'm new in OMNet++. Would you please tell me what .cproject files are or give me an exanmple?

  2. I'm simulating 802.11p with Veins. For all I know, there are no UDP(TCP)/IP in Veins, am I right?

  3. I'm now trying to combine Veins with INet, using some Transport layer and Network layer mudules from INET in Veins. For example, I would like to use IUDP as the transport layer for Veins: I modified the Car.ned file in Veins, adding UDP related submodules and changing connections accordingly. However, problems just kept coming up. Could you please give me some suggestions on how to implement UDP and TCP in veins?  Do I need to modify the NED file and then modify the corresponding C++ file?  Another Problem is how to find the corresponding C++ file?

Thanks a lot!

BR,

Wanru

 

On Tue, Oct 11, 2016 at 12:53 PM, Alfonso Ariza Quintana <aari...@hotmail.com> wrote:

Are you sure that you have could build the program?

 

I have checked the repository and the file .cproject is not present, without this file eclipse cannot build the program

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de wx1...@my.bristol.ac.uk
Enviado el: martes, 11 de octubre de 2016 12:40
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] urgent help: not able to build, or run, error=2 no such file or directory

 

Wanru Xie

unread,
Oct 11, 2016, 12:06:58 PM10/11/16
to omn...@googlegroups.com
Thanks a lot! Is this .cproject named sth.cproject in the INET framework? I'm using INET 3.4.0, I searched for .cproject but couldn't find anything. As you said there's no .cproject presented in the repository, can I build one or something in order to use the repository?

Many thanks!

--
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/KvdLkwIof7A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

Alfonso Ariza Quintana

unread,
Oct 11, 2016, 12:10:14 PM10/11/16
to omn...@googlegroups.com

If you are using linux .project is a hidden file, any file that begin with a dot is a hidden file in a unix system

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Wanru Xie
Enviado el: martes, 11 de octubre de 2016 18:07
Para: omn...@googlegroups.com
Asunto: Re: [Omnetpp-l] urgent help: not able to build, or run, error=2 no such file or directory

 

Thanks a lot! Is this .cproject named sth.cproject in the INET framework? I'm using INET 3.4.0, I searched for .cproject but couldn't find anything. As you said there's no .cproject presented in the repository, can I build one or something in order to use the repository?

Many thanks!

 

--
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/KvdLkwIof7A/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

Wanru Xie

unread,
Oct 11, 2016, 12:15:54 PM10/11/16
to omn...@googlegroups.com
Thank you! Can I create a .cproject? Or I can't use a repository without .cproject?

--
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/KvdLkwIof7A/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
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/KvdLkwIof7A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

Alfonso Ariza Quintana

unread,
Oct 11, 2016, 12:28:25 PM10/11/16
to omn...@googlegroups.com

You cannot compile the project inside the IDE without the file, you can create a new using new project or you can copy from other project.

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Wanru Xie
Enviado el: martes, 11 de octubre de 2016 18:15
Para: omn...@googlegroups.com
Asunto: Re: [Omnetpp-l] urgent help: not able to build, or run, error=2 no such file or directory

 

Thank you! Can I create a .cproject? Or I can't use a repository without .cproject?

 

--
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/KvdLkwIof7A/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
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/KvdLkwIof7A/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

Wanru Xie

unread,
Oct 11, 2016, 6:33:14 PM10/11/16
to omn...@googlegroups.com
Thanks a lot!

Is there any manual or guide line that shows how to create or use other project's?  Where should I put the .cproject file? Just under the project directory ?

Many thanks! 

--
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/KvdLkwIof7A/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
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/KvdLkwIof7A/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
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/KvdLkwIof7A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages