go-flutter-desktop / go-flutter

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
https://hover.build/
BSD 3-Clause "New" or "Revised" License
5.87k stars 283 forks source link

mingw gcc or tdm gcc ? (win10) why not anyone? #536

Closed xiaolongn100 closed 4 years ago

xiaolongn100 commented 4 years ago

Hover doctor

$ hover doctor
hover: Running on linux
hover: Docker installed: true
hover: Sharing flutter version
[...]

Error output

Using hover build [...] --XXX to build my application, I get the following error:

hover: Using engine from cache
hover: Cleaning the build directory
hover: Bundling flutter app
hover: Compiling 'go-flutter' and plugins
[...]

github.com/go-flutter-desktop/examples/pointer_demo/desktop/cmd

E:\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1 e:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: unrecognized option '--high-entropy-va' e:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: use the --help option for usage information collect2.exe: error: ld returned 1 exit status