firebase / firebase/firebase-cpp-sdk
[Bug] Outdated/incomplete instructions for building on Windows
- 主要语言
- C++
- 星标
- 326
- 派生
- 137
- 平均合并
- 3 天 9 小时
- 30 天内合并 PR
- 5
描述
### [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.
贡献指南
调研方向
从 Windows 构建说明、CMake 配置以及使用 patch、sed 和 Python distutils 的构建脚本入手。使用 Python 3.12 和 FIREBASE_USE_BORINGSSL 选项重现报告中的配置,然后确定文档中记录的前置条件和依赖项行为是否与当前构建相符。Windows 要求以及任何已确认的构建修复都得到明确记录,或作为单独的修复进行跟踪,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cmake, cpp, python
- 领域
- build-system, documentation, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100