[Bug] Outdated/incomplete instructions for building on Windows
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
调研方向
从 Windows 构建说明、CMake 配置以及使用 patch、sed 和 Python distutils 的构建脚本入手。使用 Python 3.12 和 FIREBASE_USE_BORINGSSL 选项重现报告中的配置,然后确定文档中记录的前置条件和依赖项行为是否与当前构建相符。Windows 要求以及任何已确认的构建修复都得到明确记录,或作为单独的修复进行跟踪,即视为完成。
由索引模型根据 Issue 内容生成。
描述
[REQUIRED] Please fill in the following fields:
- Pre-built SDK from the website 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
patchandsedcommand-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 thesetuptoolspackage. - Building without the OpenSSL dependency by setting the
FIREBASE_USE_BORINGSSLCMake option toONcaused 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.
- 主要语言
- C++
- 星标
- 326
- 派生
- 138
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 6
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
firebase/firebase-cpp-sdk 的其他 Issue
-
new type: question
难度 2/5 1-3 小时 新手友好度 85/100
firebase/firebase-cpp-sdk#1926 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
firebase/firebase-cpp-sdk#1905 · 2 条评论 ·
-
api: firestore
难度 5/5 一周以上 新手友好度 35/100
firebase/firebase-cpp-sdk#1920 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 70/100
firebase/firebase-cpp-sdk#1904 · 1 条评论 ·
-
new type: question
难度 4/5 3-5 天 新手友好度 45/100
firebase/firebase-cpp-sdk#1892 · 1 条评论 ·
查看 firebase/firebase-cpp-sdk 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
drogonframework/drogon#2605 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
ArthurSonzogni/FTXUI#1363 ·
-
难度 1/5 1 小时以内 新手友好度 94/100
MiSTer-devel/Main_MiSTer#1325 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 88/100