firebase-cpp-sdk icon indicating copy to clipboard operation
firebase-cpp-sdk copied to clipboard

[Bug]

Open hercegnovi opened this issue 2 years ago • 2 comments

[REQUIRED] Please fill in the following fields:

  • Pre-built SDK from the website or open-source from this repo: _____
  • Firebase C++ SDK version: _____
  • Problematic Firebase Component: _____ (Auth, Database, etc.)
  • Other Firebase Components in use: _____ (Auth, Database, etc.)
  • Platform you are using the C++ SDK on: _____ (Mac, Windows, or Linux)
  • Platform you are targeting: _____ (iOS, Android, and/or desktop)

[REQUIRED] Please describe the issue here:

when following the instructions to build the SDK on windows, getting the following error

Building Custom Rule C:/work/google/firebase-cpp-sdk/external/src/firestore/cmake/external/CMakeLists.txt No update step for 'zlib' No patch step for 'zlib' No configure step for 'zlib' No build step for 'zlib' No install step for 'zlib' No test step for 'zlib' Completed 'zlib' CMake Error at 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: C:/work/google/firebase-cpp-sdk/external/src/firestore-build/external) Call Stack (most recent call first): external/src/firestore/cmake/external_rules.cmake:61 (firebase_execute_process) external/src/firestore/CMakeLists.txt:118 (download_external_sources)

-- Configuring incomplete, errors occurred!

Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase C++ quickstarts ? What's the issue repro rate? (eg 100%, 1/5 etc)

What happened? How can we make the problem occur? This could be a description, log/console output, etc.

Follow steps in the Build instructions on windows 11 with visual studio 2022

If you have a downloadable sample project that reproduces the bug you're reporting, you will likely receive a faster response on your issue.

Relevant Code:

git clone https://github.com/firebase/firebase-cpp-sdk.git
mkdir desktop_build && cd desktop_build
cmake ..
cmake --build . --target firebase_analytics

the error ocurrs. 

hercegnovi avatar Dec 28 '23 22:12 hercegnovi

Same here. I'm facing the same issue.

glsee avatar Feb 18 '24 05:02 glsee

Might be the patch or sed utilities missing, see here for details: https://github.com/firebase/firebase-cpp-sdk/issues/1451#issuecomment-2012424946

triplef avatar May 03 '24 09:05 triplef