Re: [v8-users] Building V8 libs for Android on Windows 10
Hi, managed to install everything on Ubuntu Linux and fired off a V8 build for Android. (1) gn gen out.gn/foo --args='is_debug=false target_cpu="arm64" v8_target_cpu="arm64" use_goma=false target_os = "android" is_component_build = true ' (2) ninja -C out.gn/foo I keep getting errors like the following, any suggestions ? compilation terminated. [604/2337] CXX obj/lib_wasm_section_fuzzer/wasm-section-fuzzers.o FAILED: obj/lib_wasm_section_fuzzer/wasm-section-fuzzers.o ../../third_party/android_tools/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MF obj/lib_wasm_section_fuzzer/wasm-section-fuzzers.o.d -DV8_DEPRECATION_WARNINGS -DENABLE_NOTIFICATIONS -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DUSE_OPENSSL_CERTS=1 -DNO_TCMALLOC -DUSE_EXTERNAL_POPUP_MENU=1 -DENABLE_WEBRTC=1 -DDISABLE_NACL -DENABLE_SUPERVISED_USERS=1 -DSAFE_BROWSING_DB_REMOTE -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -DANDROID -DHAVE_SYS_UIO_H -DANDROID_NDK_VERSION=r12b -DCOMPONENT_BUILD -D__GNU_SOURCE=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSING_V8_SHARED -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_I18N_SUPPORT -DENABLE_HANDLE_ZAPPING -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_TARGET_ARCH_ARM64 -I../.. -Igen -I../../include -Igen/include -I../.. -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -ffunction-sections -fno-short-enums -finline-limit=64 -fno-omit-frame-pointer -gdwarf-3 -g2 --sysroot=../../third_party/android_tools/ndk/platforms/android-21/arch-arm64 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-rtti -isystem../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include -isystem../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include -isystem../../third_party/android_tools/ndk/sources/android/support/include -fno-exceptions -Wno-deprecated -Wno-narrowing -c ../../test/fuzzer/wasm-section-fuzzers.cc -o obj/lib_wasm_section_fuzzer/wasm-section-fuzzers.o In file included from ../../test/fuzzer/wasm-section-fuzzers.h:11:0, from ../../test/fuzzer/wasm-section-fuzzers.cc:5: ../../src/wasm/wasm-module.h:8:18: fatal error: memory: No such file or directory #include ^ compilation terminated. [607/2337] CXX clang_x64_v8_arm64/obj/...pector/inspector/v8-stack-trace-impl.o ninja: build stopped: subcommand failed. sanjit@sanjit-VirtualBox:~/v8$ > >>> -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [v8-users] Building V8 libs for Android on Windows 10
Ah thanks Jochen ! Got Ubuntu running in a Virtual box and making good progress. Sanjit On Monday, 7 November 2016 07:35:35 UTC, Jochen Eisinger wrote: > > Hi, > > we currently only support building for Android on a Linux or a Mac host. > > best > -jochen > > On Sun, Nov 6, 2016 at 2:37 PM Trekkie Ufo > wrote: > >> Hi >> I am trying to build V8 for use in a plugin I am developing for the Unreal >> Engine 4. My aim is to run the project on the Google Daydream VR platform >> and hence I need V8 Android libraries. Ive tried everything in your >> documentation but it just doesnt work. Ninja seems to be >> using it and I get compile errors.. Is there a clean step by step doc >> which explains how this is done ? >> >> Thanks for the help ! >> >> Sanjit >> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+u...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[v8-users] Building V8 libs for Android on Windows 10
Hi I am trying to build V8 for use in a plugin I am developing for the Unreal Engine 4. My aim is to run the project on the Google Daydream VR platform and hence I need V8 Android libraries. Ive tried everything in your documentation but it just doesnt work. Ninja seems to be using it and I get compile errors.. Is there a clean step by step doc which explains how this is done ? Thanks for the help ! Sanjit -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.