Compiling on WIndows
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu bằng cách chạy các lệnh git submodule và cargo build được ghi trong tài liệu trên Windows, rồi kiểm tra đầu ra build để tìm proto/worker/worker.proto và include google/protobuf/empty.proto bị thiếu. Hoàn thành khi dự án build thành công trên Windows và các import protobuf cần thiết được phân giải; issue không nêu tên tệp nguồn hoặc bài kiểm thử nào ngoài đường dẫn proto.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
i have no clue about rust, but i tried like this:
- install rust using rustup
- compile like described for MacOs in the docs
git submodule init
git submodule update
cargo build
this results in:
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...
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
- Ngôn ngữ chính
- Rust
- Star
- 4
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DefGuard/YubiKey-Provision
-
Add YK provision ARM buildsĐang mởgood first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của DefGuard/YubiKey-Provision
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
rescript-lang/rescript#8765 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
chroma-core/chroma#7879 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority middle
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
KATO-Hiro/AtCoderClans#12838 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
clap_complete env (PowerShell): values after a space don't complete in Windows PowerShell 5.1Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày