Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libflutter_engine.so: file not recognized: file format not recognized #8

Open
YuvarajVelumani82 opened this issue Sep 8, 2020 · 1 comment

Comments

@YuvarajVelumani82
Copy link

YuvarajVelumani82 commented Sep 8, 2020

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

@kkagarwal
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants