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"*
* call ninja -C out.gn/x64_release* * 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"* * call ninja -C 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.
FAILED: mksnapshot.exe mksnapshot.exe.pdb C:/Python27/python.exe ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 False link.exe /nologo /OUT:./mksnapshot.exe /PDB:./mksnapshot.exe.pdb @./mksnapshot.exe.rsp serializer.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) setup-heap-internal.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) objects.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) ordered-hash-table.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) string.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) deserializer.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) mark-compact.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) scavenger.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) stub-cache.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) js-objects.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) api.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) factory.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) heap.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) incremental-marking.obj : error LNK2001: unresolved external symbol "public: static class v8::internal::Isolate * __cdecl v8::internal::Heap::GetIsolateFromWritableObject(class v8::internal::HeapObject)" (?GetIsolateFromWritableObject@Heap@internal@v8@@SAPEAVIsolate@23@VHeapObject@23@@Z) factory.obj : error LNK2019: unresolved external symbol "public: class v8::internal::AllocationResult __cdecl v8::internal::third_party_heap::Heap::Allocate(unsigned __int64)" (?Allocate@Heap@third_party_heap@internal@v8@@QEAA?AVAllocationResult@34@_K@Z) referenced in function "private: class v8::internal::AllocationResult __cdecl v8::internal::Heap::AllocateRaw(int,enum v8::internal::AllocationType,enum v8::internal::AllocationOrigin,enum v8::internal::AllocationAlignment)" (?AllocateRaw@Heap@internal@v8@@AEAA?AVAllocationResult@23@HW4AllocationType@23@W4AllocationOrigin@23@W4AllocationAlignment@23@@Z) heap.obj : error LNK2001: unresolved external symbol "public: class v8::internal::AllocationResult __cdecl v8::internal::third_party_heap::Heap::Allocate(unsigned __int64)" (?Allocate@Heap@third_party_heap@internal@v8@@QEAA?AVAllocationResult@34@_K@Z) setup-heap-internal.obj : error LNK2001: unresolved external symbol "public: class v8::internal::AllocationResult __cdecl v8::internal::third_party_heap::Heap::Allocate(unsigned __int64)" (?Allocate@Heap@third_party_heap@internal@v8@@QEAA?AVAllocationResult@34@_K@Z) factory.obj : error LNK2019: unresolved external symbol "public: class v8::internal::AllocationResult __cdecl v8::internal::third_party_heap::Heap::AllocateCode(unsigned __int64)" (?AllocateCode@Heap@third_party_heap@internal@v8@@QEAA?AVAllocationResult@34@_K@Z) referenced in function "private: class v8::internal::AllocationResult __cdecl v8::internal::Heap::AllocateRaw(int,enum v8::internal::AllocationType,enum v8::internal::AllocationOrigin,enum v8::internal::AllocationAlignment)" (?AllocateRaw@Heap@internal@v8@@AEAA?AVAllocationResult@23@HW4AllocationType@23@W4AllocationOrigin@23@W4AllocationAlignment@23@@Z) heap.obj : error LNK2001: unresolved external symbol "public: class v8::internal::AllocationResult __cdecl v8::internal::third_party_heap::Heap::AllocateCode(unsigned __int64)" (?AllocateCode@Heap@third_party_heap@internal@v8@@QEAA?AVAllocationResult@34@_K@Z) setup-heap-internal.obj : error LNK2001: unresolved external symbol "public: class v8::internal::AllocationResult __cdecl v8::internal::third_party_heap::Heap::AllocateCode(unsigned __int64)" (?AllocateCode@Heap@third_party_heap@internal@v8@@QEAA?AVAllocationResult@34@_K@Z) heap.obj : error LNK2019: unresolved external symbol "public: unsigned __int64 __cdecl v8::internal::third_party_heap::Heap::GetObjectFromInnerPointer(unsigned __int64)" (?GetObjectFromInnerPointer@Heap@third_party_heap@internal@v8@@QEAA_K_K@Z) referenced in function "public: class v8::internal::Code __cdecl v8::internal::Heap::GcSafeFindCodeForInnerPointer(unsigned __int64)" (?GcSafeFindCodeForInnerPointer@Heap@internal@v8@@QEAA?AVCode@23@_K@Z) .\mksnapshot.exe : fatal error LNK1120: 4 unresolved externals