https://github.com/nodejs/node/issues/27189

+          '_ITERATOR_DEBUG_LEVEL=0',


On Wed, Mar 11, 2020 at 1:40 PM Calvin L <cwklu...@gmail.com> wrote:

> Hi,
>
> I was wondering if anyone had any luck with the MSVC debug build so far? I
> successfully built v8 as a static library for release builds with these
> commands
>
> *    gn gen out.gn/x64_release <http://out.gn/x64_release>
> --args="is_component_build=false is_debug=false target_cpu=\"x64\"
> v8_enable_pointer_compression=false is_clang=false"*
>
> *    call ninja -C out.gn/x64_release <http://out.gn/x64_release>*
>
>
> *   gn gen out.gn/x86_release <http://out.gn/x86_release>
> --args="is_component_build=false is_debug=false target_cpu=\"x86\"
> v8_enable_pointer_compression=false is_clang=false"*
> *   call ninja -C out.gn/x86_release <http://out.gn/x86_release>*
>
> These compile fine with my project. I haven't been able to get the debug
> build to work on the other hand. Here's some of the args i tried to build
> with
>
> args: is_component_build=false
>          is_debug=true
>          target_cpu="x64"
>          v8_enable_pointer_compression=false
>          is_clang=false
>
> result: successful build failed linking
>
>
> args: is_component_build=false
>          is_debug=true
>          symbol_level=2
>          target_cpu="x64"
>          v8_enable_backtrace=true
>          v8_enable_slow_dchecks=true
>          v8_enable_pointer_compression=false
>          is_clang=false"
>
> result: successful build failed linking
>
>
> args: is_component_build=false
>          is_debug=true symbol_level=2
>          target_cpu="x64"
>          v8_enable_backtrace=true
>          v8_enable_slow_dchecks=true
>          v8_optimized_debug=false
>          v8_enable_pointer_compression=false
>          is_clang=false
>
> result: failed build (attached errors in text file)
>
>
> args: is_component_build=false
>          is_debug=true
>          symbol_level=2
>          target_cpu="x64"
>          v8_enable_backtrace=true
>          v8_enable_slow_dchecks=true
>          v8_optimized_debug=false
>          v8_enable_pointer_compression=false
>          is_clang=false
>          enable_iterator_debugging=true
>
> result: successful build failed link
>
>
> In the cases where the build was successful, I received errors while
> trying to compile with my project
>     *"mismatch detected for '_ITERATOR_DEBUG_LEVEL':value '0' doesn't
> match value '2' in {some other .lib in my project}"*
> *    "mismatch detected for "RuntimeLibrary": value 'MT_StaticRelease'
> doesn't match value 'MTd_StaticDebug in {**some other .lib in my project*
> *}'*
> does anyone know why this is? Thanks in advanced!
>
> -CL
>
> --
> --
> 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/e09011e8-a321-4995-bcef-61d109784828%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-users/e09011e8-a321-4995-bcef-61d109784828%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/CAA2GJqU9WPV7KtK8Nq8BHnioOvbqzza%3DyXxskLsoAhMQ_6%2BPfA%40mail.gmail.com.

Reply via email to