Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error on Windows 11 #2233

Closed
JustinJayL opened this issue Oct 8, 2024 · 3 comments
Closed

Compilation Error on Windows 11 #2233

JustinJayL opened this issue Oct 8, 2024 · 3 comments
Labels

Comments

@JustinJayL
Copy link

Brief description of your issue

I'm running into an error while compiling the systeminformer solution (Both from command line and inside of Visual Studio). I searched the issues and discussions, and no solution was found.

Visual Studio appears to be throwing an error in the file "windot11.h"

Steps to reproduce (optional)

No response

Expected behavior (optional)

No response

Actual behavior (optional)

Severity Code Description Project File Line Suppression State Details
Error C2288 preprocessing number '0x6cb9a43e+' is not a valid integer or floating literal phlib C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared\windot11.h 2401
Error C2064 term does not evaluate to a function taking 0 arguments phlib C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared\windot11.h 2404
Error C2078 too many initializers phlib C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared\windot11.h 2404
Error C2064 term does not evaluate to a function taking 0 arguments phlib C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared\windot11.h 2405

Environment (optional)

Windows: 10.0.22621.4169 (WinBuild.160101.0800)
WindowsSDK: 10.0.22621.0 (17.11.35102.94)
VisualStudio: VisualStudio/17.11.4+35312.102
SystemInformer: 3.1.24282.0 (37654a92) [master]
@jxy-s
Copy link
Member

jxy-s commented Oct 8, 2024

WindowsSDK: 10.0.22621.0 (17.11.35102.94) looks like you're using and older SDK - latest is 10.0.26100.1742.

@JustinJayL
Copy link
Author

JustinJayL commented Oct 9, 2024

After re-running build_init and build_release, this worked for me.

Apologies, I thought I had the latest version of everything, however, the Visual Studio UI for installing components is a bit obtuse. Thanks!

@MagicAndre1981
Copy link
Contributor

Vs 2022 17.11.5 updates SDK to latest version:

Updated the Windows 11 SDK (10.0.26100.0) installed by Visual Studio to the October 2024 servicing build.

@jxy-s jxy-s closed this as completed Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants