-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Build errors on macOS and Linux #22
Comments
I was able to build the examples with the following tweaks: in pubspec.yaml: environment:
- sdk: ">=2.12.0-214.0.dev <3.0.0"
+ sdk: ">=2.17.0 <3.0.0" in -import 'package:nativeshell/nativeshell.dart';
+import 'package:nativeshell/nativeshell.dart' as nativeshell; (+ a whole bunch of prexing individual nativeshell type references in both source code files with in -nativeshell_build = { version = "0.1.13" }
+nativeshell_build = { git = "https://github.com/nativeshell/nativeshell.git" }
[dependencies]
-nativeshell = { version = "0.1.13" }
+nativeshell = { git = "https://github.com/nativeshell/nativeshell.git" } However,
|
Ah, the last problem I have I think is because I tried running with the beta version of the SDK, and they recently added this to Flutter engine itself: flutter/engine#34093 ... I'll see if I can make this conditional. |
(I have posted a PR to resolve the last issue at nativeshell/nativeshell#171 -- will post something for the examples repo as well...) |
I am experiencing build errors when trying to build the example code of the following kind (loads more of these in the
cargo build
output:This is after I edited
pubspec.yaml
to set the SDK version to 2.17.0 or newer, since without doing that there were loads of these errors:The text was updated successfully, but these errors were encountered: