Tk Source Code

View Ticket
Login
2019-10-25
22:27 Closed ticket [54efae5e29]: 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. plus 6 other changes artifact: 7d145cd447 user: jan.nijtmans
22:18 Ticket [54efae5e29]: 3 changes artifact: d3d8ede30d user: anonymous
22:17 New ticket [54efae5e29]. artifact: 0661a59a9a user: anonymous

Ticket UUID: 54efae5e29949bf8e9741c2bd881a835b4d5340d
Title: 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.
Type: Bug Version: 8.6.9
Submitter: anonymous Created on: 2019-10-25 22:17:53
Subsystem: 85. Win Build Assigned To: nobody
Priority: 5 Medium Severity: Cosmetic
Status: Closed Last Modified: 2019-10-25 22:27:19
Resolution: Duplicate Closed By: jan.nijtmans
    Closed on: 2019-10-25 22:27:19
Description:
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.
User Comments: jan.nijtmans added on 2019-10-25 22:27:19:
Dup of [3d34589aa0] which is already fixed in all branches.