Bug 973 - Example project in ns-3
Example project in ns-3
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: examples
pre-release
All All
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-04 14:00 UTC by Juan Antonio
Modified: 2010-08-19 00:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Antonio 2010-08-04 14:00:15 UTC
Hi.
I am programming an example for ns-3. It constains four .cc files and three .h files. The example constains three class and a main file. When I execute ./waf command to compile it fails because this command doesn't find main function.
The problem is the .cc files that they part the classes don't contain the main function.

There is any solution for compile an project or I need write in blank main function  on all .cc files??

Thanks!!!
Comment 1 Tom Henderson 2010-08-05 00:51:53 UTC
Hi Juan Antonio, I am going to close this bug out (since it is more a question than a bug)-- do you mind if I repost it on the ns-3-users@googlegroups.com list and answer it there?  (or feel free to do so yourself).