Skip to content
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

web build fail #9

Open
Yonkers opened this issue Jul 21, 2021 · 0 comments
Open

web build fail #9

Yonkers opened this issue Jul 21, 2021 · 0 comments

Comments

@Yonkers
Copy link

Yonkers commented Jul 21, 2021

version: ^0.2.2-pre

part of error:

 ../../../.pub-cache/hosted/pub.flutter-io.cn/win32-2.1.3/lib/src/com/UserDataPaths.dart:107:32:
  Error: 'IntPtr' isn't a type.
      final retValuePtr = calloc<IntPtr>();
                                 ^^^^^^
  ../../../.pub-cache/hosted/pub.flutter-io.cn/win32-2.1.3/lib/src/com/UserDataPaths.dart:110:26:
  Error: 'NativeFunction' isn't a type.
        final hr = Pointer<NativeFunction<_get_CameraRoll_Native>>.fromAddress(
                           ^^^^^^^^^^^^^^
  ../../../.pub-cache/hosted/pub.flutter-io.cn/win32-2.1.3/lib/src/com/UserDataPaths.dart:110:18:
  Error: Method not found: 'Pointer.fromAddress'.
        final hr = Pointer<NativeFunction<_get_CameraRoll_Native>>.fromAddress(
                   ^^^^^^^^^^^
  ../../../.pub-cache/hosted/pub.flutter-io.cn/win32-2.1.3/lib/src/com/UserDataPaths.dart:123:32:
  Error: 'IntPtr' isn't a type.
      final retValuePtr = calloc<IntPtr>();
                                 ^^^^^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant