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

Error on build #15

Open
babbsgit opened this issue Nov 29, 2019 · 13 comments
Open

Error on build #15

babbsgit opened this issue Nov 29, 2019 · 13 comments

Comments

@babbsgit
Copy link

injector-error

I have this error when building

@babbsgit
Copy link
Author

Also, I have a question. What should be the platform toolset for each project?

platform-toolset

Is this correct

@wbenny
Copy link
Owner

wbenny commented Nov 29, 2019

It looks like you're missing WDK. Also it looks like you forgot about --recurse-submodules.

@babbsgit
Copy link
Author

I have Windows SDK version installed. You can see it in the pic.

I have a missing WindowsKernelModeDriver 10.0. How can I install that?

@wbenny
Copy link
Owner

wbenny commented Nov 29, 2019

I said nothing about SDK, I said you're missing WDK :) Thats how you'll get "WindowsKernelModeDriver 10.0".

@babbsgit
Copy link
Author

I installed it already, but VS Studio 2017 and 2019 says that it is not installed. I have restarted my PC already. I download WDK here:

https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk

@babbsgit
Copy link
Author

error-git-clone

Also, I have this error when performing git clone --recurse-submodules

@wbenny
Copy link
Owner

wbenny commented Nov 29, 2019

You have something wrong with your WDK installation. Maybe you did forget to check the "Install WDK extension for Visual Studio" checkbox (or something with similar label)? It appears at the final dialog of the installation. I had similar issue in the past.

Ad submodules: looks like you don't have your SSH public key associated with github account. Either add it to github, or change .gitmodules to:

[submodule "src/DetoursNT"]
	path = src/DetoursNT
	url = https://github.com/wbenny/DetoursNT
[submodule "include/phnt"]
	path = include/phnt
	url = https://github.com/processhacker/phnt

and then try to pull submodules again (git submodules init && git submodules update).

@babbsgit
Copy link
Author

I fixed the submodules error by adding ssh-keys to my github account.
I reinstalled the WDK, but vs studio still not reads the installed WDK.

wdk-not-installed

@babbsgit
Copy link
Author

There is no:
"Install WDK extension for Visual Studio" checkbox
On the installation

@wbenny
Copy link
Owner

wbenny commented Nov 29, 2019

image

@babbsgit
Copy link
Author

I opened the installer named wdksetup but it downloads the setup again instead of installing. Why is this happening. It's like i'm stuck in an infinite loop of downloading the WDK.

wdksetup

@babbsgit
Copy link
Author

can you send your installer here?

@babbsgit
Copy link
Author

@wbenny try to download the setup:
https://go.microsoft.com/fwlink/?linkid=2085767

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