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

'HCS_E_HYPERV_NOT_INSTALLED': undeclared identifier #103

Open
CarlosNihelton opened this issue Jan 6, 2022 · 3 comments
Open

'HCS_E_HYPERV_NOT_INSTALLED': undeclared identifier #103

CarlosNihelton opened this issue Jan 6, 2022 · 3 comments

Comments

@CarlosNihelton
Copy link

Hello, everyone! Happy new year!

Current state of the master branch fails to compile with msbuild command line.
PR #101 introduced the HRESULT HCS_E_HYPERV_NOT_INSTALLED which seems to be defined in Windows 10 SDK, version 1809 (10.0.17763.0), a few releases behind the latest, but the launcher project file targets version 10.0.16299, thus resulting in the undeclared identifier compilation error.

The fix seems to be simple: upgrade the target SDK to a proper version. To which version of the SDK should we upgrade to?

@Biswa96
Copy link

Biswa96 commented Jan 6, 2022

Obviously, the latest one. Link https://developer.microsoft.com/en-US/windows/downloads/windows-sdk/.

@CarlosNihelton
Copy link
Author

Obviously, the latest one. Link https://developer.microsoft.com/en-US/windows/downloads/windows-sdk/.

Thank you.

@Biswa96
Copy link

Biswa96 commented Jan 6, 2022

Alternatively, it will be easier just to defined the constant in source code like this:

#define HCS_E_HYPERV_NOT_INSTALLED _HRESULT_TYPEDEF_(0x80370102L)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants