在 Visual Studio 2017 中构建 TclTk 时出错 [英] Error when building TclTk in Visual Studio 2017
问题描述
我无法使用 Visual Studio 2017 (15.5.x) 编译 Tcl/Tk.我可以编译2010年到2013年的代码.
使用 msvc 2017 编译 tkStubLib.c 文件时出现以下错误
C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um\winnt.h(20062):错误 C2059:语法错误:'常量'
>
我尝试了 TclTk 8.6.0 和 8.6.8
有人可以帮我吗?
vcvarsall x64 10.0.15063.0
设置 64 位构建环境(x86 用于 32 位).
i have troubles to compile Tcl/Tk with Visual Studio 2017 (15.5.x). I can compile the code from 2010 to 2013.
I get the folowing error when compiling the tkStubLib.c file with msvc 2017
C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um\winnt.h(20062): error C2059: syntax error: 'constant'
I tried TclTk 8.6.0 and 8.6.8
Does anybody can help me?
vcvarsall x64 10.0.15063.0
to set up a 64-bit build environment (x86 for 32-bit).
Reference: http://wiki.tcl.tk/54819
这篇关于在 Visual Studio 2017 中构建 TclTk 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!