[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ns] RE: problem encounted while building ns2 for windows 98



Hi Haobo,
Thanks for the quick reply.  Would you please advise me on which version of
TCL, TK, OTCL, TCLCL and NS I should be compiling together to build a copy
of NS on windows98?



Regards,

William

-----Original Message-----
From: Haobo Yu [mailto:[email protected]]
Sent: Tuesday, August 01, 2000 1:31 AM
To: William Wong
Cc: [email protected]
Subject: Re: [ns] RE: problem encounted while building ns2 for windows
98


then you are compiling current ns snapshot, which is not guaranteed to
work on win32 since no development is done on that platform.

On Mon, 31 Jul 2000, William Wong wrote:

> Date: Mon, 31 Jul 2000 14:43:04 +0800
> From: William Wong <[email protected]>
> To: [email protected]
> Subject: [ns] RE: problem encounted while building ns2 for windows 98
>
> Hello everybody,
>
> I have downloaded tcl8.0.4, tk8.0.4, otcl-1.0a5, tclcl-1.0b9, and ns-2.1b6
> and unzip them into a directory c:\netsim.
>
> No problem faced while compiling for tcl, tk and otcl using VC++ 5 on
> windows98.
>
> I am trying to build ns-2 on windows98 using VC++ ver 5, but has not been
> able to successful compile NS ver 2 itself. Even though I have
successfully
> compile TCL, TK, OTCL & TCLCL in orders.
>
> I have download even download these snapshots:
>
> otcl-src-snapshot.tar.gz
> tclcl-src-snapshot.tar.gz
> ns-src-snapshot.tar.gz
>
> and recompile OTCL and TCLCL.
> However, when compiling NS2,I cannot get through this step:
>
> cl -c -Ox -c -W3 -DCRTAPI1=cdecl -DCRTAPI2=cdecl -nologo -D_x86=1 -DW
>
INVER=0X0400 -dwin32 -D -WIN32 -D_MT -D_DLL -MD -OZ -zM1000 -DNo_TK -IC:\net
>
im\tk80~1.4\win -IC:\netsim\tk80~1.4\generic -IC:\netsim\tcl80~1.4\win  -IC
>
:\netsim\tcl80~1.4\generic -IC:\netsim\octcl-1.0a5 -IC:\netsim\tclcl -IC:\ne
>
tsim\tcl80~1.4\xlib -I. -IC:\progra~1\devstudio\vc\include -Fofiffusion.o -T
> p diffusion/diffusion.cc
>
> diffusion.cc
>
> c:\PROGRA~1\DEVSTUDIO\VC\INCLUDE\MATH.H (523): ERROR C2894 : TEMPLATE
CANNOT
> BE DECLARED TO HAVE 'C' LINKAGE
>
> DIFFUSION/DIFFUSION.CC(134):WARNING C4355 : 'This': used in base member
> initializer list
> DIFFUSION/DIFFUSION.CC(135):WARNING C4355 : 'This': used in base member
> initializer list
> DIFFUSION/DIFFUSION.CC(407 ):ERROR C2572 : 'MACsend': " redefinition of
> default parameter: parameter 2
>
>
> Would you please help me out on this?
>
> Thanks & Best Regards,
>
>
>
> William
>
>