You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: failed to run custom build command for `yubikey-provision v0.1.8 (C:\Users\alex\Downloads\defguard-yubikey-provision)`
Caused by:
process didn't exit successfully: `C:\Users\alex\Downloads\defguard-yubikey-provision\target\debug\build\yubikey-provision-d1f5323220e834e6\build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-changed=proto/worker/worker.proto
cargo:rerun-if-changed=proto/worker
--- stderr
Error: Custom { kind: Other, error: "protoc failed: google/protobuf/empty.proto: File not found.\r\nworker.proto:3:1: Import \"google/protobuf/empty.proto\" was not found or had errors.\r\nworker.proto:27:40: \"google.protobuf.Empty\" is not defined.\r\nworker.proto:29:39: \"google.protobuf.Empty\" is not defined.\r\n" }
warning: build failed, waiting for other jobs to finish...
This also includes a directory called "includes" which has some google stuff in it. I copied this directory to the root folder of the cloned yubikey-provision repo but this changes nothing.
Can you please give me a hint on compiling for windows?
I already tried using docker, ubuntu-in-vm and now out of desperation i'm trying to compile for windows
The text was updated successfully, but these errors were encountered:
Hello @aleex1848
I am sorry to hear you have issues with compiling. As for windows, there is not much required to compile this program. I use scoop to install protobuf compiler. You can try scoop install protobuf. Make sure to clone repository with the --recursive flag and it should compile without issues. I developed rust version of the provisioner on Windows and I don't think I had any special dependencies in place for it to work. You can check setup for compilation on Debian in Dockerfile.
i have no clue about rust, but i tried like this:
this results in:
i downloaded protobuf from here https://github.com/protocolbuffers/protobuf/releases/tag/v25.2
This also includes a directory called "includes" which has some google stuff in it. I copied this directory to the root folder of the cloned yubikey-provision repo but this changes nothing.
Can you please give me a hint on compiling for windows?
I already tried using docker, ubuntu-in-vm and now out of desperation i'm trying to compile for windows
The text was updated successfully, but these errors were encountered: