-
-
Notifications
You must be signed in to change notification settings - Fork 172
[SOLVED] Building kernel snapshot for release mode works only without -Ddart.vm.product=true #196
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
Comments
are you sure you invoked the command correctly? From what it sounds like you maybe had a space between the |
I double-checked right now, and sadly yes, i'm invoking the command properly without the space. |
I just tried and for me that command is running fine. But when I add a space between
(With |
Your answer made me tought about a syntax problem, so I tried with cmdline instead of powershell and.... it worked! Still not working in the powershell 😕 Ahhhh.. the magic world of computers |
Hi,
I'm following the guide in the section:
[ Building the app.so (for running your app in Release/Profile mode) ]
I'm on Windows 10 and when i run the first command:
I receive 2 errors:
Error when reading '.vm.product=true': Impossible to find the specified file
Error: No 'main' method found.
Try adding a method named 'main' to your program.
After a few tries I omitted the option
-Ddart.vm.product=true
and it worked without errors.The rest of the guide worked fine and I managed to build the app.so file and run the app in release mode.
The problem is that in my code I use the kReleaseMode constant, and without that option it doesn't work.
I can't explain why that option doesn't work, any help is much appreciated, thanks.
The text was updated successfully, but these errors were encountered: