Hi, i have built V8 libraries with below arguments.
is_debug = false target_cpu = "arm" v8_target_cpu = "arm" target_os = "android" is_component_build = false v8_static_library = true v8_use_snapshot = true v8_use_external_startup_data = false icu_use_data_file = false When i try to integrate it in android project, compilation fails with below error. Error: D:/workspace/SampleNDKO/app/src/main/cpp/hello-jni.cpp:42: error: undefined reference to 'v8::platform::NewDefaultPlatform(int, v8::platform::IdleTaskSupport, v8::platform::InProcessStackDumping, std::__ndk1::unique_ptr<v8::TracingController, std::__ndk1::default_delete<v8::TracingController> >)' ../../buildtools/third_party/libc++/trunk/include/memory:3586: error: undefined reference to 'std::__1::__shared_weak_count::__release_weak()' ../../buildtools/third_party/libc++/trunk/include/memory:3586: error: undefined reference to 'std::__1::__shared_weak_count::__release_weak()' ../../buildtools/third_party/libc++/trunk/include/vector:975: error: undefined reference to 'std::__1::__vector_base_common<true>::__throw_length_error() const' ../../buildtools/third_party/libc++/trunk/include/vector:1560: error: undefined reference to 'std::__1::__vector_base_common<true>::__throw_out_of_range() const' ../../buildtools/third_party/libc++/trunk/include/vector:1560: error: undefined reference to 'std::__1::__vector_base_common<true>::__throw_out_of_range() const' ../../buildtools/third_party/libc++/trunk/include/vector:1560: error: undefined reference to 'std::__1::__vector_base_common<true>::__throw_out_of_range() const' ../../buildtools/third_party/libc++/trunk/include/vector:1560: error: undefined reference to 'std::__1::__vector_base_common<true>::__throw_out_of_range() const' ../../buildtools/third_party/libc++/trunk/include/memory:3586: error: undefined reference to 'std::__1::__shared_weak_count::__release_weak()' ../../buildtools/third_party/libc++/trunk/include/vector:1009: error: undefined reference to 'std::__1::__vector_base_common<true>::__throw_length_error() const' ../../buildtools/third_party/libc++/trunk/include/vector:1009: error: undefined reference to 'std::__1::__vector_base_common<true>::__throw_length_error() const' ../../buildtools/third_party/libc++/trunk/include/vector:1009: error: undefined reference to 'std::__1::__vector_base_common<true>::__throw_length_error() const' ../../buildtools/third_party/libc++/trunk/include/memory:3606: error: undefined reference to 'std::__1::__shared_weak_count::~__shared_weak_count()' ../../buildtools/third_party/libc++/trunk/include/memory:3586: error: undefined reference to 'std::__1::__shared_weak_count::__release_weak()' ../../buildtools/third_party/libc++/trunk/include/memory:3606: error: undefined reference to 'std::__1::__shared_weak_count::~__shared_weak_count()' D:/workspace/SampleNDKO/app/src/main/cpp/../public/v8_5_8_283_32/build/libs/ armeabi-v7a/libv8_base.a(api.o):api.cc:vtable for std::__1:: __shared_ptr_pointer<v8::internal::Coverage*, std::__1::default_delete<v8:: internal::Coverage>, std::__1::allocator<v8::internal::Coverage> >: error: undefined reference to 'std::__1::__shared_weak_count::~__shared_weak_count()' Please help me in resolving the issue. Thanks in advance. Regards, Kiran -- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/e0d227ad-975a-4001-86ad-639496b18910%40googlegroups.com.