Go-flutter: flutter_engine.dll file not recognized

Created on 16 Jul 2019  Â·  2Comments  Â·  Source: go-flutter-desktop/go-flutter

Does hover work now ?

hover.exe run --cache-path=D:\cache
hover: Downloading engine for platform windows-x64 at version 54ad777fd2...
hover: Download completed in 3.93s
hover: Downloading artifacts at version 54ad777fd2...
hover: Download completed in 1.88s
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)
go: finding github.com/go-gl/glfw latest
# github.com/go-flutter-desktop/go-flutter/embedder
D:\cache\hover\engine\windows/flutter_engine.dll: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
hover: Updating go-flutter to latest version failed: exit status 2

** size
23M 23681536 'D:\cache\hover\engine\windows\flutter_engine.dll'

** md5
31115ef1437aa3bfc12bdc2f5232f652 *D:\\cache\\hover\\engine\\windows\\flutter_engine.dll

** gcc version
gcc version 9.1.0 (Rev3, Built by MSYS2 project)
** go version
go version go1.12.7 windows/386

_Originally posted by @di3663 in https://github.com/go-flutter-desktop/go-flutter/issues/184#issuecomment-511762317_

hover needs info

Most helpful comment

go version go1.12.7 windows/386

flutter_engine.dll is 64-bit only, which is why you're getting an unknown format on 32-bit Windows.

All 2 comments

@di3663 Your issue occurs when linking the flutter_engine.dll.
Since windows has multiple implementation of GCC, I don't know which C compiler you are using.
Are you using the Golang recommended C compiler ?

go version go1.12.7 windows/386

flutter_engine.dll is 64-bit only, which is why you're getting an unknown format on 32-bit Windows.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pushqrdx picture pushqrdx  Â·  4Comments

monkeyWie picture monkeyWie  Â·  7Comments

atresnjo picture atresnjo  Â·  4Comments

lohnn picture lohnn  Â·  6Comments

GeertJohan picture GeertJohan  Â·  5Comments