You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this running on your x64 host using the default g++? If so, it should only be able to target x86 code, do you need to use a cross-compiler instead? Off the top of my head, I think for android it should be something like arm-linux-androideabi-g++.
Instructions of Android Build for ARM Processor are missing.
As per this page, https://v8.dev/docs/embed
Gives error,
"error adding symbols: File in wrong format" , (Relocations in generic ELF)
Same command works successfully for x64 build.
Here is what I did,
args.gn
toninja -C out.gn/arm.release
g++ -I. -Iinclude samples/hello-world.cc -o hello_world -lv8_monolith -Lout.gn/arm.release/obj/ -pthread -std=c++0x
The text was updated successfully, but these errors were encountered: