Open andyjjones28 opened 5 years ago
Can you be a bit elaborate about the steps you have used to build the flutter engine?
Did you get any success here? @andyjjones28
Did you get any success here? @andyjjones28
I didn't, sorry. And the company I was working for abandoned flutter on the Pi.
No worries. I found out it was eventually a problem with incompatible versions of glib for cross-compilation. I would assume you cross-compiled on <= Ubuntu 18 with GLIB 2.27 which is strictly not-forward compatible with GLIB2.28 on the Raspbian (Debian Buster). Faintly recalling, they have changed the header for fcntl64 to a macro in the latest version of GLIB.
I cross compiled my flutter engine according the instructions in your article (flutter-on-raspberry-pi-mostly-from-scratch).
I placed flutter_embedder.h and libflutter_engine.so in the out/ directory and ran ninja, and I cannot get past this error (it has bothered me for a couple of weeks now). Any help would be greatly appreciated.