View Ticket
Ticket UUID: df2dd68dcaac97e9fb5971ae6d06b5a00446e450
Title: Error: <sys/stat.h> is not compatible with MSVC
Status: Open Type: Build Problem
Severity: Critical Priority: Immediate
Subsystem: Tcl Resolution: Open
Last Modified: 2021-03-20 06:32:41
Version Found In: 0.12.0
Description:
I created tclkit.exe in KitCreator Web Interface with the following options.
But when I executed the program, the following error was reported.

---------------------------
Fatal Error in Wish
---------------------------
<sys/stat.h> is not compatible with MSVC
---------------------------
OK   
---------------------------

KitCreator Web Interface

Status: Complete

URL: http://kitcreator.rkeene.org/kits/b00dd4f52414d34ad408e52fe27b3da50614c822/tclkit.exe

Description: Tcl 8.6.10, KitCreator 0.12.0, Platform win32, Metakit-based, Threaded, Packages: tk

User Comments:
anonymous added on 2020-06-19 02:16:40:
Here's the cause of that problem.

https://core.tcl-lang.org/tcl/whatis/797aaaf6466104ad

anonymous added on 2021-01-12 05:08:34:
According to the comment, it seems we need to build 32bit version with VC6.
If I don't have the build environment, I'd better expect Ashok to continue providing 32bit tclkit. I once used KitCreator Web interface to make the smallest tclkit (without TWAPI, with all encodings and with all TZ database.)

anonymous added on 2021-03-20 06:32:41:
problems also happens without TK.

Description: Tcl 8.6.11, KitCreator 0.12.1, Platform win32, Unthreaded, No packages

results in:

<sys/stat.h> is not compatible with MSVC
Illegal instruction