Skip to content

Cannot run project #44

@zjw78123sc

Description

@zjw78123sc

Launching lib/main.dart on macOS in debug mode...
Building macOS application...
../../../../.pub-cache/hosted/pub.flutter-io.cn/screen_capturer_windows-0.2.2/lib/src/commands/ms_screenclip.dart:21:5: Error: Undefined name 'PROCESS_ACCESS_RIGHTS'.
PROCESS_ACCESS_RIGHTS.PROCESS_QUERY_INFORMATION |
^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/screen_capturer_windows-0.2.2/lib/src/commands/ms_screenclip.dart:22:9: Error: Undefined name 'PROCESS_ACCESS_RIGHTS'.
PROCESS_ACCESS_RIGHTS.PROCESS_VM_READ,
^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/screen_capturer_windows-0.2.2/lib/src/commands/ms_screenclip.dart:47:35: Error: The operator '+' isn't defined for the class 'Pointer'.

  • 'Pointer' is from 'dart:ffi'.
  • 'IntPtr' is from 'dart:ffi'.
    Try correcting the operator to an existing operator, or defining a '+' operator.
    final hModule = (hModules + i).value;
    ^
    ../../../../.pub-cache/hosted/pub.flutter-io.cn/screen_capturer_windows-0.2.2/lib/src/commands/ms_screenclip.dart:89:7: Error: The getter 'SHOW_WINDOW_CMD' isn't defined for the class '_MsScreenclip'.
  • '_MsScreenclip' is from 'package:screen_capturer_windows/src/commands/ms_screenclip.dart' ('../../../../.pub-cache/hosted/pub.flutter-io.cn/screen_capturer_windows-0.2.2/lib/src/commands/ms_screenclip.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'SHOW_WINDOW_CMD'.
    SHOW_WINDOW_CMD.SW_SHOWNORMAL,
    ^^^^^^^^^^^^^^^
    Target kernel_snapshot failed: Exception

Command PhaseScriptExecution failed with a nonzero exit code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions