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

Build tap driver for arm64 on Windows #1147

Closed
wants to merge 1 commit into from
Closed

Conversation

bradsoto
Copy link

I was able to successfully build a load the driver on arm64 Windows. These are my notes.

Install Visual Studio 2017 Community with these individual components:

  • Visual C++ compilers and libraries for ARM64
  • Windows 10 SDK (10.0.16299.0) for Desktop C++ [ARMand ARM64]

Download and install WDK for Windows 10, version 1709. If the extension does not install run C:\Program Files (x86)\Windows Kits\10\Vsix\WDK.vsix. Give yourself modify permissions on the C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys folder.

Change zttap300.inf

; To build for x86, take NTamd64 off this and off the named section manually, build, then put it back!
[Manufacturer]
%Provider%=zttap300,NTarm64

[zttap300]
%DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated
%DeviceDescription% = zttap300.ndi, zttap300      ; Legacy

[zttap300.NTarm64]
%DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated
%DeviceDescription% = zttap300.ndi, zttap300      ; Legacy

Open Developer Command Prompt for VS 2017 in the TapDriver6 directory

set STAMPINF_VERSION=3.00.00.0
msbuild /p:Configuration="Win10 Release";Platform=arm64

Enable testsigning and the driver will install.

@laem
Copy link

laem commented Apr 16, 2020

@bradsoto is there a way to use what you've compiled until this PR is merged 🙂 ?

@Aidas777
Copy link

Aidas777 commented Jul 2, 2020

Hi,

Could you please share zttap300.inf (if it is enough to install the driver) for ARM64 Win 10 Home ?

@unquietwiki unquietwiki added Type: CI / Build problem Developer/build issues with the codebase Windows Windows-related issue labels Sep 22, 2020
@xinmodao
Copy link

@bradsoto HI,Compile according to your steps, but prompt "Could not load file or assembly 'Microsoft.UniversalStore.HardwareWorkflow.InfReader, Version=0.0.0.0, Culture=neutral, PublicKeyToken=4458b0725dc83cac' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Signability test failed."
Please share your compiled tap driver for windows ARM64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: CI / Build problem Developer/build issues with the codebase Windows Windows-related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants