firebase / firebase/firebase-cpp-sdk
[Bug] Outdated/incomplete instructions for building on Windows
- Ngôn ngữ chính
- C++
- Star
- 326
- Fork
- 137
- Merge trung bình
- 3 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 5
Mô tả
### [REQUIRED] Please fill in the following fields:
* Pre-built SDK from the [website](https://firebase.google.com/download/cpp) or open-source from this repo: open-source
* Firebase C++ SDK version: v11.10.0
* Main Firebase Components in concern: Auth
* Other Firebase Components in use: RemoteConfig
* Platform you are using the C++ SDK on: Windows
* Platform you are targeting: Windows
### [REQUIRED] Please describe the question here:
When trying to build the SDK on Windows I ran into multiple issues:
- Some components require the `patch` and `sed` command-line utilities during CMake configuration (see also #1451 and #1506) and must be installed e.g. via Chocolatey. This is not documented.
- The latest Python 3.12 no longer includes `distutils`, which is used by build scripts. As a workaround one has to install the `setuptools` package.
- Building without the OpenSSL dependency by setting the `FIREBASE_USE_BORINGSSL` CMake option to `ON` caused configuration errors, and building with OpenSSL also downloads BoringSSL during CMake configuration. Not sure if this is expected, but it would be nice to be able to build the SDK without the OpenSSL dependency.
It would be great if these points could be documented and/or fixed.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với hướng dẫn build trên Windows, cấu hình CMake và các script build sử dụng patch, sed và Python distutils. Tái hiện cấu hình đã được báo cáo với Python 3.12 và tùy chọn FIREBASE_USE_BORINGSSL, sau đó xác định xem các điều kiện tiên quyết được ghi trong tài liệu và hành vi của dependency có khớp với build hiện tại hay không. Công việc được xem là hoàn tất khi các yêu cầu của Windows và mọi bản sửa build đã được xác nhận đều được ghi rõ trong tài liệu hoặc được theo dõi dưới dạng các bản sửa riêng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cmake, cpp, python
- Lĩnh vực
- build-system, documentation, operating-systems
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100