New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error, maybe the dart sdk version ? #1
Comments
This is WFM on latest master Flutter. PS c:\> dart --version
Dart SDK version: 2.17.0-69.0.dev (dev) (Fri Jan 28 00:44:27 2022 -0800) on "windows_x64" |
There's some flux at the moment with I think they're about to publish this, but for now, try editing pubspec.yaml to point to this new version of ffi, and you should be good, @lycstar. |
@timsneath ok , but a new error was encountered Info: Compiling with sound null safety
../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-2.3.10/lib/src/structs.g.dart:664:31: Error: Member not found: 'UnicodeChar'.
int get UnicodeChar => Char.UnicodeChar;
^^^^^^^^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-2.3.10/lib/src/structs.g.dart:665:38: Error: Setter not found: 'UnicodeChar'.
set UnicodeChar(int value) => Char.UnicodeChar = value;
^^^^^^^^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-2.3.10/lib/src/structs.g.dart:667:29: Error: Member not found: 'AsciiChar'.
int get AsciiChar => Char.AsciiChar;
^^^^^^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-2.3.10/lib/src/structs.g.dart:668:36: Error: Setter not found: 'AsciiChar'.
set AsciiChar(int value) => Char.AsciiChar = value;
^^^^^^^^^
Error: AOT compilation failed
Generating AOT kernel dill failed! Dart SDK version: 2.17.0-69.0.dev (dev) (Fri Jan 28 00:44:27 2022 -0800) on "windows_x64" |
I'm so glad you reported this, because it helped us track down a nasty potential bug caused by the interplay of some types that were temporarily in both package:ffi and dart:ffi in certain situations (see dart-archive/ffi#133). We fixed the parent package, and commit 3deb30a should fix errors here. Please let me know if this works for you. |
Great, it works! @timsneath |
The text was updated successfully, but these errors were encountered: