cmake ARCHIVE_EXTRACT command
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake
- 领域
- build-system
调研方向
先从引用的 linux/CMakeLists.txt 和 windows/CMakeLists.txt 文件开始,然后检查项目如何声明所需的 CMake 版本。使用 CMake 3.16 重现该失败,并验证在 Linux 和 Windows 上所选最低版本的行为。当不受支持的 CMake 版本产生明确结果,且文档中的要求与所使用的命令一致时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Used a CMake ARCHIVE_EXTRACT command that supports only from CMake 3.18.
But required cmake version is 3.10 ( for linux ) or 3.14 ( for windows ).
This leads to embarrassing errors ( ubuntu 20.04 with out-of-box cmake version 3.16 ):
CMake Error at
flutter/ephemeral/.plugin_symlinks/serious_python_linux/linux/CMakeLists.txt:25
(file):
file does not recognize sub-command ARCHIVE_EXTRACT
Unable to generate build files
Error building Flet app - see the log of failed command above.
CMake docs about ARCHIVE_EXTRACT:
https://cmake.org/cmake/help/latest/command/file.html#archive-extract
ARCHIVE_EXTRACT usage:
https://github.com/flet-dev/serious-python/blob/e44dff11516019060d4e37e7a4ab900750c0243c/src/serious_python_linux/linux/CMakeLists.txt#L25
https://github.com/flet-dev/serious-python/blob/e44dff11516019060d4e37e7a4ab900750c0243c/src/serious_python_windows/windows/CMakeLists.txt#L24
I suggest increase requirement version of cmake to 3.18.
There will be a clearer error message.
And it will also allow to learn the list_prepend function. Because list(TRANSFORM ..) and list(PREPEND..) will already be supported in cmake 3.18.
E.g. here https://github.com/flet-dev/serious-python/blob/e44dff11516019060d4e37e7a4ab900750c0243c/src/serious_python/example/run_example/linux/flutter/CMakeLists.txt#L14
- 主要语言
- Dart
- 星标
- 325
- 派生
- 46
- 平均合并
- 15 小时 47 分钟
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
flet-dev/serious-python 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
flet-dev/serious-python#226 ·
-
难度 4/5 3-5 天 新手友好度 35/100
flet-dev/serious-python#169 ·
-
iOS Build Failure: Missing site-xcframeworks Directory in serious_python_darwin PhaseScriptExecution未关闭
难度 3/5 1-2 天 新手友好度 42/100
flet-dev/serious-python#168 ·
-
Update docs for site-packages可能重新可做 @FeodorFitsner 于 561 天前认领,目前没有进行中的 PR。 未关闭documentation
flet-dev/serious-python#157 · 1 条评论 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 35/100
flet-dev/serious-python#133 · 2 条评论 ·
查看 flet-dev/serious-python 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
openfoodfacts/smooth-app#7817 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
lollipopkit/flutter_server_box#1627 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
status: needs-triage
难度 2/5 1-3 小时 新手友好度 84/100
a2ui-project/a2ui#2957 ·
维护者通常 2 天内回复