firebase / firebase-cpp-sdk

Firebase C++ SDK
http://firebase.google.com
Apache License 2.0
271 stars 109 forks source link

The problem getting on windows debugging, how can solve this issue #1608

Open Yasilkhan opened 2 weeks ago

Yasilkhan commented 2 weeks ago

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

google-oss-bot commented 2 weeks ago

I found a few problems with this issue:

JamalB96 commented 1 week ago

I encountered the same problem when connecting Firebase and trying to run it on Windows