I'm trying to build tcl/tk 8.5.17 for windows 7. I did build tcl successfully. However, when i try to build tk, error had occur as follows,
C:\Program Files\Microsoft Visual Studio 10.0\VC>cd C:\Program Files\Tcl\tk8.5.1
C:\Program Files\Tcl\tk8.5.17\win>nmake -fmakefile.vc TCLDIR=C:\Program Files\Tc
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.
how to solve this error?