[Ns-developers] building NS-3 with waf

Gustavo Carneiro gjcarneiro at gmail.com
Sat Jan 20 12:21:16 PST 2007


Now also it works on win32; tested with python 2.5 + mingw (g++ 3.4).  It
might work with visual c++ as well, but I haven't tested.

PS: there's a bug in win32 code preventing the code from compiling, fixed
here:

http://telecom.inescporto.pt/~gjc/ns-3-waf/?rev/8a654580a540;style=gitweb

On 1/20/07, Gustavo Carneiro <gjcarneiro at gmail.com> wrote:
>
> On 1/20/07, Gustavo Carneiro <gjcarneiro at gmail.com> wrote:
> >
> >   I have been playing with building NS-3 with waf[1].  What I have so
> > far is here:
> >
> >       http://telecom.inescporto.pt/~gjc/ns-3-waf/<http://telecom.inescporto.pt/%7Egjc/ns-3-waf/>
>
>
>   A wscript file was missing; added it..
>
>
>   To me, waf appears:
> >
> >    1. Orders of magnitude faster than scons;
> >    2. Better user interface (try "waf build -p", you'll get a
> >    progress bar!);
> >    3. Simpler api for developers to use;
> >    4. Clean separation between configuration and building;
> >    5. More high-level than scons, in particular regarding
> >    installation prefix and directories;
> >    6. You can ship waf with NS-3 (we need to ship just one 100 KB
> >    file), thus making NS-3 more easy to build (only python needed then, rather
> >    than python + scons).
> >
> > To prove the above point 6, check out
> http://telecom.inescporto.pt/~gjc/ns3-0.0.1.tar.bz2<http://telecom.inescporto.pt/%7Egjc/ns3-0.0.1.tar.bz2>
> Anyone can download it and build it; all it needs is python >= 2.3 and a
> c++ compiler.  To build it, download it and uncompress it, then do:
>
>   $ ./waf configure
>   $ ./waf build -p
>
> --
> Gustavo J. A. M. Carneiro
> "The universe is always one step beyond logic."
>



-- 
Gustavo J. A. M. Carneiro
"The universe is always one step beyond logic."


More information about the Ns-developers mailing list