View Ticket
Ticket UUID: df2dd68dcaac97e9fb5971ae6d06b5a00446e450
Title: Error: <sys/stat.h> is not compatible with MSVC
Status: Closed Type: Build Problem
Severity: Critical Priority: Immediate
Subsystem: Tcl Resolution: Open
Last Modified: 2022-08-12 15:45:56
Version Found In: 0.12.0
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

KitCreator Web Interface

Status: Complete


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.

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

rkeene added on 2022-08-12 15:45:56:
Fixed in [b93594845d], will be in newer releases