flutter_from_scratch
flutter_from_scratch copied to clipboard
libflutter_engine.so: file not recognized: file format not recognized
Hi, I used the Compile for linux and copied the file libflutter_engine.so icudtl.dat flutter_embedder.h from /engine/src/out/host_debug_unopt directory to flutter_from_scratch/out/ folder
After this I did ninja -C out, and got the below error messages.
yvelumani@MIOVM-GM003:~/RPI/CrossCompileSDK/flutter_from_scratch$ ninja -C out ninja: Entering directory `out' [4/5] ⛓️ Link Executable: flutter FAILED: obj/flutter/flutter/executables/flutter /home/mio.ten.fujitsu.com/yvelumani/RPI/CrossCompileSDK/flutter_from_scratch/tools/../sdk/toolchain/bin/clang -o obj/flutter/flutter/executables/flutter --target=arm-linux-gnueabihf --sysroot /home/mio.ten.fujitsu.com/yvelumani/RPI/CrossCompileSDK/flutter_from_scratch/tools/../sdk/sysroot -L/home/mio.ten.fujitsu.com/yvelumani/RPI/CrossCompileSDK/flutter_from_scratch/tools/../sdk/sysroot//opt/vc/lib -L. -lrt -lbrcmEGL -lbrcmGLESv2 -lflutter_engine -lpthread -ldl -lbcm_host -lvcos -lvchiq_arm -lm -lstdc++ @obj/flutter/flutter/executables/flutter.rsp ./libflutter_engine.so: file not recognized: file format not recognized
Yes, I have the same issue. Can someone help? ninja -C out ninja: Entering directory `out' [1/2] ⛓️ Link Executable: flutter FAILED: obj/flutter/flutter/executables/flutter /home/kush/CODE/flutter/chinmaygarde/flutter_from_scratch/tools/../sdk/toolchain/bin/clang -o obj/flutter/flutter/executables/flutter --target=arm-linux-gnueabihf --sysroot /home/kush/CODE/flutter/chinmaygarde/flutter_from_scratch/tools/../sdk/sysroot -L/home/kush/CODE/flutter/chinmaygarde/flutter_from_scratch/tools/../sdk/sysroot//opt/vc/lib -L. -lrt -lbrcmEGL -lbrcmGLESv2 -lflutter_engine -lpthread -ldl -lbcm_host -lvcos -lvchiq_arm -lm -lstdc++ @obj/flutter/flutter/executables/flutter.rsp ./libflutter_engine.so: file not recognized: file format not recognized clang-7: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.