winsiderss / systeminformer

A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware. Brought to you by Winsider Seminars & Solutions, Inc. @ http://www.windows-internals.com
https://systeminformer.sourceforge.io
MIT License
11.02k stars 1.4k forks source link

Build syntax error but not really? #1415

Closed brunoherrera closed 2 years ago

brunoherrera commented 2 years ago

Brief description of your issue

Windows: 10.0.19041.2075 (WinBuild.160101.0800) WindowsSDK: 10.0.19041.0 (17.3.32708.82) VisualStudio: VisualStudio/17.3.5+32922.545

Building... 3.0.9853.5326 (739c7e9) [master]

[00:00] Building SystemInformer (x32)... [ERROR] (1) D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,31): error C2146: syntax error: missing ')' before identifier 'ApcFlags' (compiling source file kphmsg.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,31): error C2081: 'QUEUE_USER_APC_FLAGS': name in formal parameter list illegal (compiling source file kphmsg.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,31): error C2146: syntax error: missing ')' before identifier 'ApcFlags' (compiling source file kphmsgdyn.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,31): error C2081: 'QUEUE_USER_APC_FLAGS': name in formal parameter list illegal (compiling source file kphmsgdyn.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,31): error C2061: syntax error: identifier 'ApcFlags' (compiling source file kphmsg.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,31): error C2059: syntax error: ';' (compiling source file kphmsg.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,31): error C2061: syntax error: identifier 'ApcFlags' (compiling source file kphmsgdyn.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,39): error C2059: syntax error: ',' (compiling source file kphmsg.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,31): error C2059: syntax error: ';' (compiling source file kphmsgdyn.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3360,5): error C2059: syntax error: ')' (compiling source file kphmsg.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3355,39): error C2059: syntax error: ',' (compiling source file kphmsgdyn.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj]D:\GITHUB\FOREIGN\systeminformer\phnt\include\ntzwapi.h(3360,5): error C2059: syntax error: ')' (compiling source file kphmsgdyn.c) [D:\GITHUB\FOREIGN\systeminformer\kphlib\kphlib_um.vcxproj] Press any key to continue . . .

I have checked the file and there shouldnt be a ")" there and so on, I don't get why I'm getting that error, am I missing some requirement???

Steps to reproduce (optional)

No response

Expected behavior (optional)

No response

Actual behavior (optional)

No response

Environment (optional)

No response

dmex commented 2 years ago

I missing some requirement???

Yes, install the latest Windows SDK:

image

brunoherrera commented 2 years ago

I missing some requirement???

Yes, install the latest Windows SDK:

image

thank you! only needed Windows 10 SDK (10.0.20348.0)