[Bug] Unresolved external symbol error on Windows build with Firebase C++ SDK 12.1.0 and above
@dconeybe がすでに取り組んでいます。
2024年12月17日 から。
評価
この issue はまだ評価されていません。
説明
[REQUIRED] Please fill in the following fields:
- Pre-built SDK from the website or open-source from this repo: Pre-built SDK from website
- Firebase C++ SDK version: 12.1.0 and above
- Problematic Firebase Component: Firestore
- Other Firebase Components in use: None
- Platform you are using the C++ SDK on: Windows
- Platform you are targeting: desktop
[REQUIRED] Please describe the issue here:
This issue occurs when building a project on Windows with Firebase C++ SDK versions 12.1.0 and above. The build fails with an unresolved external symbol error linked to the firebase_firestore.lib file.
Steps to reproduce:
- Set up a C++ project on Windows.
- Integrate Firebase C++ SDK (version 12.1.0 or higher) with Firestore as a dependency.
- Build the project.
Code: LNK2019
Description: unresolved external symbol ___std_min_8i@8 referenced in function "auto __cdecl std::__std_min<__int64 const >(__int64 const * const,__int64 const * const)" (??$__std_min@$$CB_J@std@@YA?A_PQB_J0@Z)
Have you been able to reproduce this issue with just the Firebase C++ quickstarts?
No, the issue was reproduced on a custom project using Firestore.
What's the issue repro rate?
100%
I am encountering a persistent linker error when building on Windows with Firebase C++ SDK version 12.1.0 and later. The issue does not appear in version 12.0.0, but it consistently arises in 12.1.0 and above.
Code: LNK2019
Description: unresolved external symbol ___std_min_8i@8 referenced in function "auto __cdecl std::__std_min<__int64 const >(__int64 const * const,__int64 const * const)" (??$__std_min@$$CB_J@std@@YA?A_PQB_J0@Z)
- 主要言語
- C++
- スター
- 326
- フォーク
- 138
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 6
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 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