gpt4 book ai didi

visual-studio-2017 - 在 Visual Studio 2017 中构建 TclTk 时出错

转载 作者:行者123 更新时间:2023-12-01 09:46:05 27 4
gpt4 key购买 nike

我无法使用 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:语法错误:'constant'

我试过 TclTk 8.6.0 和 8.6.8

有人可以帮我吗?

最佳答案

vcvarsall x64 10.0.15063.0 

设置 64 位构建环境(x86 用于 32 位)。

引用:http://wiki.tcl.tk/54819

关于visual-studio-2017 - 在 Visual Studio 2017 中构建 TclTk 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48559337/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com