|
2026-07-12
| ||
| 10:57 | • Closed ticket [9594d5a0ab]: Windows nmake: extensions (including Tk) do not buil... artifact: c21c7edc9b user: apnadkarni | |
| 10:56 | Bug [9594d5a0] - non-default nmake builds check-in: 04353a498c user: apnadkarni tags: trunk, main | |
|
2026-07-10
| ||
| 10:05 | • Ticket [9594d5a0ab] Windows nmake: extensions (including Tk) do not build if Tcl... artifact: da6b089977 user: oehhar | |
| 09:33 | • Ticket [9594d5a0ab]: 3 changes artifact: 2cf39abeb8 user: apnadkarni | |
| 06:54 | • Ticket [9594d5a0ab]: 4 changes artifact: 4bbaefd6ca user: oehhar | |
| 03:05 | • Ticket [9594d5a0ab]: 3 changes artifact: 675a4218b6 user: apnadkarni | |
| 03:04 | • New ticket [9594d5a0ab]. artifact: 602754b6c7 user: apnadkarni | |
Windows nmake: extensions (including Tk) do not build if Tcl is built with a non-default OUT_DIR
(Only of interest to nmake users)
TIP 477 allows OUT_DIR to be specified as the output directory for Tcl builds. However, if specified, while Tcl builds fine, extensions (including Tk) still look for its libraries in the default directory and fail.
I wouldn't have troubble to remove the OUT_DIR option. Nevertheless, it is handy for different builds.
But the main step forcing a distinct directory naming and layout is nmake htmlhelp, which is IMHO the main annoying point.
Thanks for all, Harald
I don't plan on removing OUT_DIR at all. Rather fix it so, Tk (and extensions) will not always use the default OUT_DIR setting for Tcl.
My main (selfish) goal is to streamline building+install+test of all the possible combinations (shared,static)x(zipfs,nozipfs) of Tcl (and Tk) by using separate directories. Currently this does not work even if OUT_DIR is set.
Proposed fix in [afc4e5d6f9] so you can now do
vctool shared shared_noembed static static_noembed compile test install
cd ..\..\tk\win
..\..\tcl\win\vctool shared shared_noembed static static_noembed compile test install
to get a full build+test+install of all the combinations without the manual tedium.
I'm not sure what the htmlhelp issue you referenced is (or I have forgotten). I'll try that.
Great, thanks, all great.
The htmlhelp target requires, that the tcl and tk source folders are adjecent and best the only files in a folder. The naming must be tcl/tk + Version.
Anything else does not work.
Don't fix this. It is deeply in the tcl worker files and I hope, this will be addressed with the markdown doc.
Thanks for all, Harald