flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

[firebase_cpp_sdk_windows]: CMake Deprecation Warning

Open stephane-archer opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

Which plugins are affected?

Analytics

Which platforms are affected?

Windows

Description

build an app on windows

CMake Deprecation Warning at C:/Users/steph/Programs/lut_viewer/build/windows/x64/extracted/firebase_cpp_sdk_windows/CMakeLists.txt:17 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

Reproducing the issue

up

Firebase Core version

2.27.0

Flutter Version

3.19.0

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet

Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

stephane-archer avatar May 29 '24 17:05 stephane-archer

Hello @stephane-archer, the issue is actually with the Firebase CPP SDK, raised here: https://github.com/firebase/firebase-cpp-sdk/issues/1599

Lyokone avatar May 30 '24 11:05 Lyokone

@Lyokone thanks for mentioning the right place for this issue

stephane-archer avatar May 30 '24 13:05 stephane-archer

same issue here using

Flutter 3.27.2

and firebase packages

cloud_firestore: ^5.6.1
firebase_analytics: ^11.4.0
firebase_auth: ^5.4.0
firebase_core: ^3.10.0
firebase_crashlytics: ^4.3.0
firebase_performance: ^0.10.1
firebase_storage: ^12.4.0

Image

bennajah avatar Jan 16 '25 14:01 bennajah

Please dear team pay attention to this bug. it's really bothering projects

Bahrom2101 avatar Feb 02 '25 08:02 Bahrom2101

+1

Administrator@WIN-N6ST307G3R0 MINGW64 /d/test/foody_pos/foody_pos
$ flutter build windows

CMake Deprecation Warning at D:/test/foody_pos/foody_pos/build/windows/x64/extracted/firebase_cpp_sdk_windows/CMakeLists.txt:17 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


Nuget.exe not found, trying to download or use cached version.
D:\test\foody_pos\foody_pos\windows\flutter\ephemeral\.plugin_symlinks\geolocator_windows\windows\geolocator_plugin.cpp(1,1): error C1083: Cannot open compiler generated file: 'D:\test\foody_pos\foody_pos\build\windows\x64\plugins\geolocator_windows\geolocator_windows_plugin.dir\Release\geolocator_plugin.obj': Permission denied [D:\test\foody_pos\foody_pos\build\windows\x64\plugins\geolocator_windows\geolocator_windows_plugin.vcxproj]
Building Windows application...                                    86.2s
Build process failed.

Kokleng-Dev avatar Feb 12 '25 07:02 Kokleng-Dev