Compilation Problems in Win98
From: Don Rozenberg (rozen_at_mcn.org)
Date: 12/09/03
- Next message: Bigdakine: "Re: Socket help..."
- Previous message: Kevin Kenny: "Re: Cross compiling TEA"
- Next in thread: David Gravereaux: "Re: Compilation Problems in Win98"
- Reply: David Gravereaux: "Re: Compilation Problems in Win98"
- Reply: Pat Thoyts: "Re: Compilation Problems in Win98"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 09 Dec 2003 11:21:48 -0800
Hi,
I am having considerable difficulty in compiling and linking tk on
Win98. Visual C++ v.6 is on my system, I need to do that since, I need
to have Tix on WIndows and I can't find an up-to-date Windows
Installer.
I have downloaded, Tcl 8.4.5, Tk 8.4.5, and Tix 8.1.4 and put them in
a directory called 'c:\tix-build'. I pointed Visual C++ at a
workspace in c:\tix-build\tcl8.4.5\win and pressed the build button.
Several minutes later, it had built tcl.
Next I went to c:\tix-build\tk8.4.5\win. There is no Visual C++
workspace there. So I took a look at buildall.vc.bat and changed a
couple of lines point to the correct place for vcvars.bat and changed
TCLDIR to point ..\..\Tcl8.4.5
and tried executing it. After increasing my environment space, I was
compiling up a storm. However, link failed. It seems that the make
file was looking for tcl84.lib. Well the tcl build generated a file
tcl84s.lib. Back in the makefile I add the line SUFX = s and off I
went. This time, there are a half a dozen unresolved symbol messages
for things like __imp__Tcl_CreateInterp. The output of the build follows:
C:\tix-build\tk8.4.5\win>call buildall.vc.bat
Sit back and have a cup of coffee while this grinds through ;)
You asked for *everything*, remember?
Bad command or file name
Setting environment for using Microsoft Visual C++ tools.
==============================================================================
*** Compiler has 'Optimizations'
*** Compiler has 'Pentium 0x0f fix'
*** Linker has 'Win98 alignment problem'
*** Intermediate directory will be '.\Release\tk_Dynamic'
*** Output directory will be '.\Release'
*** Suffix for binaries will be ''
*** Optional defines are ''
*** Dependency rules are not being used.
link -nologo -machine:IX86 -release -opt:ref -opt:icf,3 -opt:nowin98
-
bsystem:windows -out:".\Release\wish84s.exe" kernel32.lib advapi32.lib
user32.
b shell32.lib gdi32.lib comdlg32.lib winspool.lib imm32.lib comctl32.lib ".
\.
tcl8.4.5\win\Release\tcl84s.lib" .\Release\tk_Dynamic\winMain.obj .\Releas
\tk
ynamic\wish.res ".\Release\tk84s.lib"
winMain.obj : error LNK2001: unresolved external symbol
__imp__Tcl_CreateInter
winMain.obj : error LNK2001: unresolved external symbol
__imp__Tcl_SetPanicPro
winMain.obj : error LNK2001: unresolved external symbol
__imp__Tcl_GetStringRe
lt
winMain.obj : error LNK2001: unresolved external symbol __imp__Tcl_SetVar
winMain.obj : error LNK2001: unresolved external symbol
__imp__Tcl_StaticPacka
winMain.obj : error LNK2001: unresolved external symbol __imp__Tcl_Init
winMain.obj : error LNK2001: unresolved external symbol __imp__Tcl_Alloc
.\Release\wish84s.exe : fatal error LNK1120: 7 unresolved externals
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1\VC98\BIN\link.exe' : return
c
e '0x460'
Stop.
*** BOOM! ***
Bad command or file name
DONE!
Press any key to continue . . .
------------------------------- End of Output
I would appreciate any suggestion that would get me rolling.
Thanks,
-- Don Rozenberg 707-882-3601 rozen@mcn.org
- Next message: Bigdakine: "Re: Socket help..."
- Previous message: Kevin Kenny: "Re: Cross compiling TEA"
- Next in thread: David Gravereaux: "Re: Compilation Problems in Win98"
- Reply: David Gravereaux: "Re: Compilation Problems in Win98"
- Reply: Pat Thoyts: "Re: Compilation Problems in Win98"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|