firebase / firebase/firebase-cpp-sdk
Firebase C++ SDK - Windows 10 - Build Error
- 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 from this repo
* Firebase C++ SDK version: 11.4.0
* Main Firebase Components in concern: All
* Other Firebase Components in use: All
* Platform you are using the C++ SDK on: Windows
* Platform you are targeting: Windows
### [REQUIRED] Please describe the question here:
I m getting a build error while trying to build Firebase C++ SDK on Windows 10
Below is the error message while building using CMake :
`CMake Error at desktop_build/external/src/firestore/cmake/firebase_utils.cmake:87 (message):
firebase_execute_process(): command failed with non-zero exit code 1:
C:/Program Files/CMake/bin/cmake.exe --build . -- (working directory:
E:/Program
Files/Firebase/firebase-cpp-sdk-11.4.0/desktop_build/external/src/firestore-build/external)
Call Stack (most recent call first):
desktop_build/external/src/firestore/cmake/external_rules.cmake:61 (firebase_execute_process)
desktop_build/external/src/firestore/CMakeLists.txt:118 (download_external_sources)`
Commands used for the building :
`mkdir desktop_build && cd desktop_build
cmake -G “Visual Studio 16 2019” ..`
I have both 2019 and 2022 versions of VS Community installed
Tried with Firebase C++ SDK Version - 11.3.0 as well and getting the same error
Not able to recognise the root cause of the error.
Hướng dẫn đóng góp
Hướng nghiên cứu
Tái hiện quá trình build trên Windows bằng lệnh CMake được báo cáo và kiểm tra desktop_build/external/src/firestore/cmake/firebase_utils.cmake, external_rules.cmake và CMakeLists.txt xung quanh các vị trí gọi được báo cáo. Ghi lại toàn bộ đầu ra của lệnh từ external build bị lỗi; công việc được xem là hoàn tất khi Firebase C++ SDK được cấu hình và build thành công bằng Visual Studio generator được ghi trong tài liệu.
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
- Lĩnh vực
- build-system, desktop-dev
- 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
- 25/100