Mats | 2 Mar 15:26

Building tclkit 8.5.1 on Windows


How to build tclkit on Windows XP using Tcl/Tk 8.5.1
----------------------------------------------------

Or how a failed to do that...

1. Used genkit to get all sources (on mac). Replaced tcl85 and tk85
with
   released 8.5.1 sources.

2. Got http://www.equi4.com/pub/tk/tars/msvc6-85.tar.gz and imported
it
   into VC++7.

3. Changed path to src/tcl/win/tclAppInit.c to src/tcl85/win/
tclAppInit.c

4. Changed path to src/tk/win/winMain.c to src/tk85/win/winMain.c

5. Removed src/tcl85/compat/strtoll.c and strtoull.c from project.

6. Added inline=__inline to the defines, both Debug & Release

7. Added ws2_32.lib to Additional Dependencies, both Debug & Release

8. Built Release target, moved to unix (mac),
   cat kit.exe runtime85.kit > tclkit.exe

But something goes really wrong with the initializations. When I
double
click tclkit.exe it can't find init.tcl. It says: "Can't find
init.tcl
when searching in:
.../My Documents/C/tclkits85/lib/tcl8.5/
when it should be something like:
.../My Documents/C/tclkits85/msvc7-85/tclkit.exe/(...?)/lib/tcl8.5/

I have put the complete VC++7 projects here:
http://coccinella.sourceforge.net/tclkits/msvc7-85.zip
with tclkit.exe included.

Anyone?

Mats


Gmane