C:\Users\james\source\temp>flutter create app
C:\Users\james\source\temp>cd app
C:\Users\james\source\temp\app>flutter build aot --local-engine=host_debug_unopt --local-engine-src-path /users/james/source/github.com/flutter/engine/src
But it no workie. Clearly I'm doing something wrong / stupid. Any pointers gratefully received. Output from build:
Building AOT snapshot in release mode (host_debug_unopt)...
compiler message: U
compiler message: nhandled exception:
FileSystemException: Cannot open fil
compiler message: e, path = '\users\james\source\github.com\flutter\engine\src\out\host_debug_unopt\dart_entry_points\entry_points.json' (OS Error: The system cannot find the path specified.
, errno = 3)
#0 _File.throwIfError (dart:io/file_impl.dart:647)
#1 _File.openSync (dart:io/file_impl.dart:491)
#2 _File.readAsBytesSync (dart:io/file_impl.dart:551)
#3 _File.readAsStringSync (dart:io/file_impl.dart:596)
#4 NativeCodeOracle.processEntryPointsJSONFiles (package:vm/transformations/type_flow/native_code.dart:280)
#5 new TypeFlowAnalysis (package:vm/transformations/type_flow/analysis.dart:1163)
#6 transformComponent (package:vm/transformations/type_flow/transformer.dart:54)
#7 _runGlobalTransformations (package:vm/kernel_front_end.dart:128)
<asynchronous suspension>
#8 compileToKernel (package:vm/kernel_front_end.dart:71)
<asynchronous suspension>
#9 FrontendCompiler.compile.<anonymous closure> (package:vm/frontend_server.dart:329)
#10 new Future.<anonymous clo
compiler message: sure> (dart:async/future.dart:174)
#11 _rootRun (dart:async/zone.dart:1122)
#12 _CustomZone.run (dart:async/zone.dart:1023)
#13 _CustomZone.runGuarded (dart:async/zone.dart:925)
#14 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965)
#15 _rootRun (dart:async/zone.dart:1126)
#16 _CustomZone.run (dart:async/zone.dart:1023)
#17 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:949)
#18 Timer._createTimer.<anonymous closure> (dart:async-patch/dart:async/timer_patch.dart:21)
#19 _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
#20 _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
#21 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
Compiler terminated unexpectedly.
--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.
To post to this group, send email to flutter-deskto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-desktop-embedding-dev/f8d3684a-c5f1-4ede-ae23-92a75757e1b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-desktop-embedding-dev/CA%2B8ChxA8aCnpwvH%3D5ECQja9tQrYry0iD_BGqFi%3DNzXXJgkp-6g%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.
To post to this group, send email to flutter-deskto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-desktop-embedding-dev/361532e0-2fb4-47ea-8998-8090a087788e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-desktop-embedding-dev/CA%2B8ChxD_FkTVPaJ%3DXSy0%2BLewqNqgaQxyR2BY1hL6auATvC7fOg%40mail.gmail.com.
That shouldn't happen with current versions of the f-d-e example app though since it now sets a target platform explicitly, so I'm curious to build the Windows GLFW PR and see where the exception is coming from in that case.
--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.
To post to this group, send email to flutter-deskto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-desktop-embedding-dev/9594d2b6-500a-446b-ac37-cf9d62d47800%40googlegroups.com.
I've sent https://github.com/flutter/flutter/pull/19176 to add a Windows->Android mapping, which hopefully won't be controversial.