wasabia / flutter_gl

cross-platform call OpenGL API by Dart through dart:ffi. Provides OpenGL with Texture Widget on Flutter.
245 stars 60 forks source link

Not finding Flutter_gl 0.0.15 or ffi packages #17

Closed paultallard closed 2 years ago

paultallard commented 2 years ago

Starting 4 PM PDT, on 6/4/22 started getting many messages similar to the following: flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:1:8: Error: Not found: 'dart:ffi' A reboot did not solve this. Updating ffi to 2.0.0 did not solve this (subsequently restored to ffi 1.2.1 in pubspec.yaml). Going back to older working examples did not solve this. Tried different targets, Chrome, Edge, Windows, Android device did not solve this. Working on a Windows 10 laptop in latest Android Studio with latest Flutter/Dart SDK's.

paultallard commented 2 years ago

After a Flutter Clean and File/Invalidating Caches.., Windows and Android work. Web (Chrome and Edge) still getting multiple errors related to Not found: 'dart:ffi' See the following: Launching lib\main.dart on Edge in debug mode... Waiting for connection from debug service on Edge... /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:1:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:5:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:8:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf8.dart:6:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:5:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:31:16: Error: Type 'Float' not found. late Pointer _list; ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:31:8: Error: Type 'Pointer' not found. late Pointer _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:33:11: Error: Type 'Float' not found. Pointer get data => _list; ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:33:3: Error: Type 'Pointer' not found. Pointer get data => _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:66:16: Error: Type 'Double' not found. late Pointer _list; ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:66:8: Error: Type 'Pointer' not found. late Pointer _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:68:11: Error: Type 'Double' not found. Pointer get data => _list; ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:68:3: Error: Type 'Pointer' not found. Pointer get data => _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:101:16: Error: Type 'Uint16' not found. late Pointer _list; ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:101:8: Error: Type 'Pointer' not found. late Pointer _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:103:11: Error: Type 'Uint16' not found. Pointer get data => _list; ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:103:3: Error: Type 'Pointer' not found. Pointer get data => _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:132:16: Error: Type 'Uint32' not found. late Pointer _list; ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:132:8: Error: Type 'Pointer' not found. late Pointer _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:134:11: Error: Type 'Uint32' not found. Pointer get data => _list; ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:134:3: Error: Type 'Pointer' not found. Pointer get data => _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:135:11: Error: Type 'Uint32' not found. Pointer get buffer => data; ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:135:3: Error: Type 'Pointer' not found. Pointer get buffer => data; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:164:16: Error: Type 'Int8' not found. late Pointer _list; ^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:164:8: Error: Type 'Pointer' not found. late Pointer _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:166:11: Error: Type 'Int8' not found. Pointer get data => _list; ^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:166:3: Error: Type 'Pointer' not found. Pointer get data => _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:194:16: Error: Type 'Int16' not found. late Pointer _list; ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:194:8: Error: Type 'Pointer' not found. late Pointer _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:196:11: Error: Type 'Int16' not found. Pointer get data => _list; ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:196:3: Error: Type 'Pointer' not found. Pointer get data => _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:224:16: Error: Type 'Int32' not found. late Pointer _list; ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:224:8: Error: Type 'Pointer' not found. late Pointer _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:226:11: Error: Type 'Int32' not found. Pointer get data => _list; ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:226:3: Error: Type 'Pointer' not found. Pointer get data => _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:254:16: Error: Type 'Uint8' not found. late Pointer _list; ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:254:8: Error: Type 'Pointer' not found. late Pointer _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:256:11: Error: Type 'Uint8' not found. Pointer get data => _list; ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:256:3: Error: Type 'Pointer' not found. Pointer get data => _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:9:7: Error: Type 'DynamicLibrary' not found. final DynamicLibrary stdlib = Platform.isWindows ^^^^^^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:13:29: Error: Type 'Pointer' not found. typedef PosixMallocNative = Pointer Function(IntPtr); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:13:46: Error: Type 'IntPtr' not found. typedef PosixMallocNative = Pointer Function(IntPtr); ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:14:23: Error: Type 'Pointer' not found. typedef PosixMalloc = Pointer Function(int); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:18:29: Error: Type 'Pointer' not found. typedef PosixCallocNative = Pointer Function(IntPtr num, IntPtr size); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:18:46: Error: Type 'IntPtr' not found. typedef PosixCallocNative = Pointer Function(IntPtr num, IntPtr size); ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:18:58: Error: Type 'IntPtr' not found. typedef PosixCallocNative = Pointer Function(IntPtr num, IntPtr size); ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:19:23: Error: Type 'Pointer' not found. typedef PosixCalloc = Pointer Function(int num, int size); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:23:27: Error: Type 'Void' not found. typedef PosixFreeNative = Void Function(Pointer); ^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:23:41: Error: Type 'Pointer' not found. typedef PosixFreeNative = Void Function(Pointer); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:24:35: Error: Type 'Pointer' not found. typedef PosixFree = void Function(Pointer); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:28:31: Error: Type 'Pointer' not found. typedef WinGetProcessHeapFn = Pointer Function(); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:31:7: Error: Type 'Pointer' not found. final Pointer processHeap = winGetProcessHeap(); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:33:30: Error: Type 'Pointer' not found. typedef WinHeapAllocNative = Pointer Function(Pointer, Uint32, IntPtr); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:33:47: Error: Type 'Pointer' not found. typedef WinHeapAllocNative = Pointer Function(Pointer, Uint32, IntPtr); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:33:56: Error: Type 'Uint32' not found. typedef WinHeapAllocNative = Pointer Function(Pointer, Uint32, IntPtr); ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:33:64: Error: Type 'IntPtr' not found. typedef WinHeapAllocNative = Pointer Function(Pointer, Uint32, IntPtr); ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:34:24: Error: Type 'Pointer' not found. typedef WinHeapAlloc = Pointer Function(Pointer, int, int); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:34:41: Error: Type 'Pointer' not found. typedef WinHeapAlloc = Pointer Function(Pointer, int, int); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:38:29: Error: Type 'Int32' not found. typedef WinHeapFreeNative = Int32 Function( ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:39:5: Error: Type 'Pointer' not found. Pointer heap, Uint32 flags, Pointer memory); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:39:19: Error: Type 'Uint32' not found. Pointer heap, Uint32 flags, Pointer memory); ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:39:33: Error: Type 'Pointer' not found. Pointer heap, Uint32 flags, Pointer memory); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:40:36: Error: Type 'Pointer' not found. typedef WinHeapFree = int Function(Pointer heap, int flags, Pointer memory); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:40:61: Error: Type 'Pointer' not found. typedef WinHeapFree = int Function(Pointer heap, int flags, Pointer memory); ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:54:35: Error: Type 'Allocator' not found. class _MallocAllocator implements Allocator { ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:66:3: Error: Type 'Pointer' not found. Pointer allocate(int byteCount, {int? alignment}) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:66:33: Error: Type 'NativeType' not found. Pointer allocate(int byteCount, {int? alignment}) { ^^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:89:13: Error: Type 'Pointer' not found. void free(Pointer pointer) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:107:7: Error: Type 'Allocator' not found. const Allocator malloc = _MallocAllocator(); ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:116:35: Error: Type 'Allocator' not found. class _CallocAllocator implements Allocator { ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:129:3: Error: Type 'Pointer' not found. Pointer allocate(int byteCount, {int? alignment}) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:129:33: Error: Type 'NativeType' not found. Pointer allocate(int byteCount, {int? alignment}) { ^^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:153:13: Error: Type 'Pointer' not found. void free(Pointer pointer) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:172:7: Error: Type 'Allocator' not found. const Allocator calloc = _CallocAllocator(); ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:24:24: Error: Type 'Allocator' not found. class Arena implements Allocator { ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:26:9: Error: Type 'Allocator' not found. final Allocator _wrappedAllocator; ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:29:22: Error: Type 'NativeType' not found. final List<Pointer> _managedMemoryPointers = []; ^^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:29:14: Error: Type 'Pointer' not found. final List<Pointer> _managedMemoryPointers = []; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:40:10: Error: Type 'Allocator' not found. Arena([Allocator allocator = calloc]) : _wrappedAllocator = allocator; ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:50:3: Error: Type 'Pointer' not found. Pointer allocate(int byteCount, {int? alignment}) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:50:33: Error: Type 'NativeType' not found. Pointer allocate(int byteCount, {int? alignment}) { ^^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:101:21: Error: Type 'NativeType' not found. void free(Pointer pointer) {} ^^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:101:13: Error: Type 'Pointer' not found. void free(Pointer pointer) {} ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:120:6: Error: Type 'Allocator' not found. [Allocator wrappedAllocator = calloc]) { ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:144:6: Error: Type 'Allocator' not found. [Allocator wrappedAllocator = calloc]) { ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf8.dart:16:20: Error: Type 'Opaque' not found. class Utf8 extends Opaque {} ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf8.dart:19:26: Error: Type 'Pointer' not found. extension Utf8Pointer on Pointer { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf8.dart:52:30: Error: Type 'Uint8' not found. static int _length(Pointer codeUnits) { ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf8.dart:52:22: Error: Type 'Pointer' not found. static int _length(Pointer codeUnits) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf8.dart:81:3: Error: Type 'Pointer' not found. Pointer toNativeUtf8({Allocator allocator = malloc}) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf8.dart:81:31: Error: Type 'Allocator' not found. Pointer toNativeUtf8({Allocator allocator = malloc}) { ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:16:21: Error: Type 'Opaque' not found. class Utf16 extends Opaque {} ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:19:27: Error: Type 'Pointer' not found. extension Utf16Pointer on Pointer { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:52:46: Error: Type 'Uint16' not found. static String _toKnownLengthString(Pointer codeUnits, int length) => ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:52:38: Error: Type 'Pointer' not found. static String _toKnownLengthString(Pointer codeUnits, int length) => ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:55:48: Error: Type 'Uint16' not found. static String _toUnknownLengthString(Pointer codeUnits) { ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:55:40: Error: Type 'Pointer' not found. static String _toUnknownLengthString(Pointer codeUnits) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:68:30: Error: Type 'Uint16' not found. static int _length(Pointer codeUnits) { ^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:68:22: Error: Type 'Pointer' not found. static int _length(Pointer codeUnits) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:93:3: Error: Type 'Pointer' not found. Pointer toNativeUtf16({Allocator allocator = malloc}) { ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:93:33: Error: Type 'Allocator' not found. Pointer toNativeUtf16({Allocator allocator = malloc}) { ^^^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:31:16: Error: 'Float' isn't a type. late Pointer _list; ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:31:8: Error: 'Pointer' isn't a type. late Pointer _list; ^^^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:36:20: Error: 'Float' isn't a type. _list = calloc(size); ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:37:26: Error: 'Float' isn't a type. oneByteSize = sizeOf(); ^^^^^ /D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:37:19: Error: The method 'sizeOf' isn't defined for the class 'NativeFloat32Array'.

paultallard commented 2 years ago

This is apparently resolved. Thanks.