On Fri, Oct 18, 2024 at 5:20 AM Pradish <pradis...@gmail.com> wrote: > > Thanks for the inputs, appreciate it immensely. > > i tried to build the V8 using Clang but as a shared dll, though the build was > successful without any issues. but when i tried to link the dll and headers > it generated few compiler errors > > Based on the suggestions, we started using clang to build V8 on windows, but > there is a problem, the V8 uses the Chromium's implementation of the STL, so > when importing the header files in windows, we get the linker errors , > because windows uses its own version of STL. > > class std::__Cr::unique_ptr<class v8::Platform,struct > std::__Cr::default_delete<class v8::Platform> > __cdecl > v8::platform::NewDefaultPlatform(int,enum v8::platform::IdleTaskSupport,enum > v8::platform::InProcessStackDumping,class std::__Cr::unique_ptr<class > v8::TracingController,struct std::__Cr::default_delete<class > v8::TracingController> >,enum v8::platform::PriorityMode) > > how do we fix this.
Pass use_custom_libcxx=false to tools/mb/mb.py (assuming that is what you're using to create the build config) and rebuild. -- -- 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/CAHQurc-XLOkEQyMof4RcrNXB86yrm9KwnVrpiunUTuwazkG5eQ%40mail.gmail.com.