[英]Error during compiling Tcl/tk
我正在尝试为Windows 7构建tcl / tk 8.5.17。我确实成功构建了tcl。 但是,当我尝试构建tk时,发生了如下错误,
设置使用Microsoft Visual Studio 2010 x86工具的环境。
C:\Program Files\Microsoft Visual Studio 10.0\VC>cd C:\Program Files\Tcl\tk8.5.1
7\win
C:\Program Files\Tcl\tk8.5.17\win>nmake -fmakefile.vc TCLDIR=C:\Program Files\Tc
l\tcl8.5.17
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
Identifier REG_SZ x86 Family 6 Model 23 Stepping 10
===============================================================================
*** Compiler has 'Optimizations'
*** Compiler does not have 'Pentium 0x0f fix'
*** Linker does not have 'Win98 alignment problem'
rules.vc(522) : fatal error U1050:
Failed to find tcl.h. The TCLDIR macro does not appear correct.
Stop.
C:\Program Files\Tcl\tk8.5.17\win>
怎么解决呢? 谢谢
为每个tcl和tk创建新文件夹作为安装目录。 解决了我的确切问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.