Compiling an OMNET++ program

424 views
Skip to first unread message

Alexandru Volosencu

unread,
May 31, 2011, 2:09:46 PM5/31/11
to omnetpp
Hello !

I am new in programming with OMNET++ and I have a problem when I want
to compile my source code.

I am getting this error: Description Resource Path Location Type
make: *** [makefiles] Error 127 test line 0 C/C++ Problem
Description Resource Path Location Type
Invalid project path: Duplicate path entries found (/test [Output
path]), path: [/test]. test pathentry Path Entry Problem


Have you encounter such problems. If so, please help me .

Thank you,

Alex

mohammed btati

unread,
May 31, 2011, 3:04:32 PM5/31/11
to omn...@googlegroups.com
What do you man by your source code?, Do you create your own modules, and want to test them?


From: Alexandru Volosencu <alex.vo...@gmail.com>
To: omnetpp <omn...@googlegroups.com>
Sent: Tue, May 31, 2011 11:09:46 AM
Subject: [Omnetpp-l] Compiling an OMNET++ program
--
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.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.

Alexandru Volosencu

unread,
May 31, 2011, 3:23:00 PM5/31/11
to omn...@googlegroups.com
Yes I created my network modules.

I have built my project and I can't run It brcause of these errors.

Thanks.

To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.

mohammed btati

unread,
May 31, 2011, 4:43:58 PM5/31/11
to omn...@googlegroups.com

First be sure that your OMNet installation is correct. try to test one of its examples (i.e tictoc). If it works, then you've done with installation. And you can create your own module. Simple way to do so: go to File -> New -> Simple Module (follow wizard sitting). Then compile your project from: Project -> Build Project.

Finally run it from: Run -> Run.

(Clean up your project first Project->Clean)

 

You can find very nice tutorials at omnet directory (usually C:\omnetpp-4.1\doc). Try to start with 'User guide' and 'Tictoc-tutorial'.



From: Alexandru Volosencu <alex.vo...@gmail.com>
To: omn...@googlegroups.com
Sent: Tue, May 31, 2011 12:23:00 PM
Subject: Re: [Omnetpp-l] Compiling an OMNET++ program

Alexandru Volosencu

unread,
May 31, 2011, 5:35:43 PM5/31/11
to omn...@googlegroups.com
Solved it . Thanks.

I didn't configure and didn't type make in the mingw32 console.

Thanks for the advice. I will build and run all the sample projects.

Regards
Reply all
Reply to author
Forward
0 new messages