Bug 973

Summary: Example project in ns-3
Product: ns-3 Reporter: Juan Antonio <jumeba04>
Component: examplesAssignee: ns-bugs <ns-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: tomh
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   

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).