I get this error while building tk8.6.9
I've built and installed tcl8.6.9 successfully
following windows compilation instructions here http://www.tcl-lang.org/doc/howto/compile.html
this is the command:
nmake -f makefile.vc INSTALLDIR=path_to_your_install_dir TCLDIR=path_to_tcl_source
this is the error:
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(20154): error C2059: syntax error: 'constant'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(20166): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(20167): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(20168): error C2143: syntax error: missing '{' before '*'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(20176): error C2061: syntax error: identifier 'IMAGE_POLICY_ENTRY'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(20177): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\winnt.h(20178): error C2143: syntax error: missing '{' before '*'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\processthreadsapi.h(1036): error C2059: syntax error: 'constant'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\processthreadsapi.h(1038): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\processthreadsapi.h(1154): error C2059: syntax error: 'constant'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um\processthreadsapi.h(1156): error C2059: syntax error: '}'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\HostX86\x86\cl.EXE"' : return code '0x2'
Stop.
|