Hi Ben,

You need to add - DV8_COMPRES_POINTERS to your compile flags.




On Sat, Oct 24, 2020, 7:06 PM Ben Ernst <boi...@gmail.com> wrote:

> Hey all, thank you in advance for any advice here. How does one enable
> pointer compression? I'm updating from v7.1 to v8.6, and I get this error
> message (below) at runtime. It is probably something minor I overlooked in
> the code samples.
>
>
>
> #
> # Fatal error in ../../src/api/api.cc, line 5696
> # Embedder-vs-V8 build configuration mismatch. On embedder side pointer
> compression is DISABLED while on V8 side it's ENABLED.
> #
> #
> #
> #FailureMessage Object: 00000078F51FF0A0
> ==== C stack trace ===============================
>
>         v8::base::debug::StackTrace::StackTrace [0x00007FF77D4C776B+27]
>         v8::platform::DefaultPlatform::PostJob [0x00007FF77D4C4141+401]
>         V8_Fatal [0x00007FF77B7A5787+167]
>         v8::V8::Initialize [0x00007FF77B73D78D+77]
>         v8::V8::Initialize [0x00007FF77B545CE0+176]
> (C:\Code\Optimatics\justobjects\libs\3rdParty\include\v8.h:9655)
>         ezv8::Platform::Impl::Impl [0x00007FF77B54BBC3+259]
> (C:\Code\Optimatics\justobjects\src\ezv8\platform.cpp:46)
>         std::_Construct_in_place<ezv8::Platform::Impl>
> [0x00007FF77D4A9AB2+98] (C:\Program Files (x86)\Microsoft Visual
> Studio\2019\Enterprise\VC\Tools\MSVC\14.27.29110\include\xmemory:231)
>
> std::_Ref_count_obj2<ezv8::Platform::Impl>::_Ref_count_obj2<ezv8::Platform::Impl><>
> [0x00007FF77D4A9637+119] (C:\Program Files (x86)\Microsoft Visual
> Studio\2019\Enterprise\VC\Tools\MSVC\14.27.29110\include\memory:1428)
>         std::make_shared<ezv8::Platform::Impl> [0x00007FF77B54B9F8+120]
> (C:\Program Files (x86)\Microsoft Visual
> Studio\2019\Enterprise\VC\Tools\MSVC\14.27.29110\include\memory:2072)
>         ezv8::Platform::Platform [0x00007FF77D4AA585+69]
> (C:\Code\Optimatics\justobjects\src\ezv8\platform.cpp:24)
>         `dynamic initializer for 'platform'' [0x00007FF77B52CBB7+71]
> (C:\Code\Optimatics\justobjects\src\ezv8\platform.cpp:70)
>
> --
> --
> 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/a0e1506d-5f78-4265-b7de-0a5de957f8f6n%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-users/a0e1506d-5f78-4265-b7de-0a5de957f8f6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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/CAOxB8nagHU5qxfajoJ53GJ0yn47PozhSQHSnSP%2B%3Dt-0yyrJCqw%40mail.gmail.com.

Reply via email to