Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Bug] Unresolved external symbol error on Windows build with Firebase C++ SDK 12.1.0 and above

Đang mở
#1,665 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@dconeybe đang làm issue này rồi.

Từ ngày 17/12/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

api: firestore needs-info new type: question
[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:
  1. Set up a C++ project on Windows.
  2. Integrate Firebase C++ SDK (version 12.1.0 or higher) with Firestore as a dependency.
  3. 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)

Ngôn ngữ chính
C++
Star
326
Fork
138
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của firebase/firebase-cpp-sdk

Tất cả issue của firebase/firebase-cpp-sdk

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.