The problem getting on windows debugging, how can solve this issue
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- cmake, cpp, firebase, flutter
- 领域
- build-system, desktop
调研方向
先在执行报告中的清理和依赖命令后,使用 flutter build [windows] 重现该故障。检查 flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt 以及生成的 build/windows/x64/extracted/firebase_cpp_sdk_windows 目录。完成标准是 Windows 构建文件能够生成,且不会出现缺少 CMakeLists.txt 和 Firebase target 的错误。
由索引模型根据 Issue 内容生成。
描述
Launching lib\main.dart on Windows in debug mode...
Building Windows application...
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:119 (add_subdirectory):
The source directory
C:/Users/DELL/model_clon_pizza_romi_new/build/windows/x64/extracted/firebase_cpp_sdk_windows
does not contain a CMakeLists.txt file.
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:125 (get_target_property):
get_target_property() called with non-existent target "firebase_app".
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:126 (string):
string sub-command REPLACE requires at least four arguments.
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:127 (set_target_properties):
set_target_properties Can not find target to add properties to:
firebase_app
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:125 (get_target_property):
get_target_property() called with non-existent target "firebase_auth".
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:126 (string):
string sub-command REPLACE requires at least four arguments.
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:127 (set_target_properties):
set_target_properties Can not find target to add properties to:
firebase_auth
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:125 (get_target_property):
get_target_property() called with non-existent target "firebase_storage".
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:126 (string):
string sub-command REPLACE requires at least four arguments.
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:127 (set_target_properties):
set_target_properties Can not find target to add properties to:
firebase_storage
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:125 (get_target_property):
get_target_property() called with non-existent target "firebase_firestore".
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:126 (string):
string sub-command REPLACE requires at least four arguments.
CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:127 (set_target_properties):
set_target_properties Can not find target to add properties to:
firebase_firestore
Error: Unable to generate build files
I followed these command
flutter clean
flutter pub upgrade firebase core
flutter pub get
flutter build [windows]
but three have no changes still getting error
- 主要语言
- 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 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
firebase/firebase-cpp-sdk#1905 · 2 条评论 ·
维护者通常 1 天内回复
-
api: firestore
难度 5/5 一周以上 新手友好度 35/100
firebase/firebase-cpp-sdk#1920 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 70/100
firebase/firebase-cpp-sdk#1904 · 1 条评论 ·
维护者通常 1 天内回复
-
new type: question
难度 4/5 3-5 天 新手友好度 45/100
firebase/firebase-cpp-sdk#1892 · 1 条评论 ·
维护者通常 1 天内回复
查看 firebase/firebase-cpp-sdk 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
KhronosGroup/Vulkan-Tutorial#524 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
microsoft/onnxruntime-genai#2633 ·
维护者通常 1 天内回复
-
mapper bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
firebase/firebase-ios-sdk#16718 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
tesseract-ocr/tesseract#4627 ·