Closed JanezStupar closed 3 years ago
@pchampio @jld3103 @GeertJohan can somebody please give me some pointers how to collect more information?
Oh I wrote an answer but it somehow disappeard. Sorry for that. I wrote something like this:
If something works or not it will be useful to debug it further.
I have been busy elsewhere and I expect to provide required feedback in the next couple of days. I am still very much intereseted and invested in getting hover to work for my use case.
Okay so I took some time to do the testing. Turns out that the build works very well. Even with develop channel.
Turns out the issue was that I was trying to run the app in VM. I expected that it will work since the official embedder does.
Feel free to close this issue.
Duplicate of: https://github.com/go-flutter-desktop/go-flutter/issues/272
You might be able to run it in a vm using: https://github.com/go-flutter-desktop/go-flutter/issues/272#issuecomment-535403717
Hi I built the windows-msi package in UBuntu linux I ran the installer in another windows machine I have , it got installed but the app didn't run I got the same issue which @james-lawrence got , not in a vm but a real machine
How do I fix this?
Do you have any logs?
This is inside a VM , I ran a build cammand with opengl=none arguement , However it didnt work
$ hover run --opengl=none
hover: Using engine from cache
hover: Cleaning the build directory
hover: ⚠ The go-flutter project tries to stay compatible with the beta channel of Flutter.
hover: ⚠ It's advised to use the beta channel: `flutter channel beta`
hover: Bundling flutter app
Running "flutter pub get" in flutter_app... 1,307ms
Building with sound null safety
hover: Checking available release on Github
hover: The core library 'go-flutter' has an update available. (v0.42.0 -> 0.43.0)
hover: To update 'go-flutter' in this project run: `hover bumpversion`
hover: Checking available release on Github
hover: 'hover' has an update available. (v0.46.1 -> 0.46.2)
hover: To update 'hover' go to `https://github.com/go-flutter-desktop/hover#install` and follow the install steps
hover: The '--opengl=none' flag makes go-flutter incompatible with texture plugins!
hover: Compiling 'go-flutter' and plugins
hover: Successfully compiled executable binary for windows
hover: Build finished, starting app...
hover: Running flutter_app in debug_unopt mode
creating glfw window: APIUnavailable: WGL: The driver does not appear to support OpenGL
hover: App 'flutter_app' exited with error: exit status 1
Duplicate of: #272
You might be able to run it in a vm using: #272 (comment)
@pchampio already said everything there is about running in a VM
Here is the deal. About a week ago I tried out hover as an alternative build process to the project built in for its advanced packaging support.
The initial test on my app seemed to work well enough, so I started figuring out how to add DLL's and how to handle the plugins I need as app installed on systems with installed VS redist package.
But then I never got to run the result on windows again. I assumed that something is wrong with dependencies until two days ago I decided to step back again and to confirm that tooling works as expected. For the record I am installing app on a virtual machine.
To this end I created a new flutter app using
flutter create simple
See the logs below.
Hover doctor
Hover output
Using
hover build [...] --XXX
to build my application, I get the following output:What are the symptoms you are seeing?
The MSI installer works fine. The application gets successfully installed. But it doesn't run. There is no log entry visible through event viewer. There is no console output when running from
cmd
, I tried added logging into the dartmain
method but it seems that the executable doesn't get that far either. The linux build works fine.So I am a bit lost here, because "it doesn't work" is all I can offer.
So as a first step, I would need some guidance to help me gather more information.