Create a Visual Studio project#134
Open
michaelwright235 wants to merge 7 commits intodesowin:masterfrom
Open
Conversation
Compiling this driver is difficult using newer VS and WDK, so I made a VS project that will help doing this. Also I'm using newer WDK, so an updated .inf file is required. You can still build this project with bat scripts, if your environment mathes the old requirements.
Remove non-working debug configs
|
@desowin is there any further work here that can be done for it to be merged in? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've created a VS Solution consisting 2 projects: the driver itself and a cli tool. Both gets successfully compiled for x64 and ARM64. The cli tool also gets compiled to x86. The driver supposedly don't support x86 (I might used a too new version of WDK).
In addition to Visual Studio itself make sure to install those components:
or MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
or MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (Latest)
A manual is available from Microsoft.
Compiled binaries are located at the path of
./build.