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 --args="is_component_build=false is_debug=false target_cpu=\"x64\" v8_enable_pointer_compression=false is_clang=false"
gn gen out.gn/x86_release --args="is_component_build=false is_debug=false target_cpu=\"x86\" v8_enable_pointer_compression=false is_clang=false"
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