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

Re: [ns] a question about building otcl in Windows98



You might want to download the prebuilt windows binary of ns.

http://www.isi.edu/nsnam/dist/binary/

Hengduan Luo wrote:
> 
> Hi, all,
> 
> I met a problem when I built otcl after building tcl/tk
> successfully. I downloaded ns-allinone-2.1b8a.tar.gz from
> isi.edu.  Then I unzip the file and build tcl/tk, otcl,
> etc. one by one. I am using Windows98 and Visual C++ 6.0.
> The problem I met is:
> D:\ns-allinone-2.1b8a\otcl-1.0a7>\progra~1\micros~1\vc98\bin\nmake /f makefile.v
> c
> 
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> 
>         cl -Z7 -Od -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D
> _WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32  -D_WIN32 -D_MT -D_DLL -MD -c -Zi -W3 -
> I. -I..\tcl83~1.2\generic -I..\tk83~1.2\generic -I..\tk83~1.2\xlib -Footcl.o otc
> l.c                                                                 ~~~~~~~~~~~~
> NMAKE : fatal error U1081: 'cl' : program not found
> stop
> 
> Then I checked the makefile.vc in the dir otcl and uncommented
> the line of
> all: $(OTCLLIB) otclsh.exe owish.exe
> 
> Then the problem occured again except one word as mentioned by ~~~~~.
>         cl -Z7 -Od -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D
> _WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32  -D_WIN32 -D_MT -D_DLL -MD -c -Zi -W3 -
> I. -I..\tcl83~1.2\generic -I..\tk83~1.2\generic -I..\tk83~1.2\xlib -FootclAppIni
> t.o otclAppInit.c                                                   ~~~~~~~~~~~~~
> NMAKE : fatal error U1081: 'cl' : program not found
> Stop.
> 
> I thought it was because the line :
> OTCLLIB= otcl.lib
> so that cl.exe cannot find OTCLLIB.
> 
> Thank you for your kind help!
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Hengduan Luo
> [email protected]