Le 01/05/2023 à 11:00,
shenye...@gmail.com a écrit :
> I use Visual Studio 2022 to build tcl/tk 8.6.12 with some customized command bulit into tcl. But I have been doing this for quite a while without any problem.
>
> For tcl shell 8.6.12 and 8.6.13(with tk86t.dll loaded), use exec to run an external programs will take more than 3 times of executipn time than using tcl 8.6.0 (from star to end of the external program).
Did you by any chance switch from Win10 to Win11? I have seen something
resembling your report when I did (there was no delay on Win10 Tcl/Tk
built with VS 2022). A 5 seconds (timeout?) delay got introduced in my
app. for no obvious reason (Tcl code unchanged). I didn't go to the
bottom of this problem though, I resolved it in quick and dirty mode by
a judiciously placed update in my script.
> Also I found there is an error during the bulding of 8.6.13, which is related to
> "git rev-parse HEAD"
> It doesn't seem to affect the final outcome of tcl and tk, so I just ignored it. What is this "git rev-parse HEAD" for anyway ? Should I be cautious about this ?
I'm building with VS2022 on Win11 and I'm not seeing an error. Could you
show how exactly you are building (show the commands you output), along
with the the exact error?
From a quick look, "git rev-parse HEAD" is used in
makefile.vc to put
the commit hash of the bleeding edge (i.e. HEAD) of the current branch
in the manifest.uuid file. Sounds like we need git in the path for this
to work, perhaps that's the issue you are seeing.
Regards,
Francois