succeeded. Following the docs I started building node for which I first created ninja files using this command
It succeeded. After which I started creating a build using
ninja -C out/Release node which is failing at the last step and I am getting the following error:
ninja: Entering directory `out/Release'
[1/1] LINK_EMBED(DLL) node.dll
FAILED: node.dll node.dll.lib node.dll.pdb
C:\Users\Administrator\codebase\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe gyp-win-tool link-with-manifests environment.x86 True node.dll "C:\Users\Administrator\codebase\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe gyp-win-tool link-wrapper environment.x86 False link.exe /nologo /IMPLIB:node.dll.lib /DLL /OUT:node.dll @node.dll.rsp" 2 mt.exe rc.exe "obj\third_party\node-nw\node.node.dll.intermediate.manifest" obj\third_party\node-nw\node.node.dll.generated.manifest
node.async-wrap.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall v8::Context::Exit(void)" (__imp_?Exit@Context@v8@@QAEXXZ)
node.async-wrap.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall v8::Context::Enter(void)" (__imp_?Enter@Context@v8@@QAEXXZ)
node.async-wrap.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __thiscall v8::External::Value(void)const " (__imp_?Value@External@v8@@QBEPAXXZ)
node.async-wrap.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::Integer> __cdecl v8::Integer::New(class v8::Isolate *,int)" (__imp_?New@Integer@v8@@SA?AV?$Local@VInteger@v8@@@2@PAVIsolate@2@H@Z)
node.async-wrap.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall v8::Isolate::EnqueueMicrotask(void (__cdecl*)(void *),void *)" (__imp_?EnqueueMicrotask@Isolate@v8@@QAEXP6AXPAX@Z0@Z)
.
.
.
.
.
.
.
.
node.node_trace_buffer.obj : error LNK2001: unresolved external symbol "public: void __thiscall v8::platform::tracing::TraceBufferChunk::Reset(unsigned int)" (?Reset@TraceBufferChunk@tracing@platform@v8@@QAEXI@Z)
node.node_trace_buffer.obj : error LNK2001: unresolved external symbol "public: __thiscall v8::platform::tracing::TraceBufferChunk::TraceBufferChunk(unsigned int)" (??0TraceBufferChunk@tracing@platform@v8@@QAE@I@Z)
node.node_trace_buffer.obj : error LNK2001: unresolved external symbol "public: __thiscall v8::platform::tracing::TraceObject::~TraceObject(void)" (??1TraceObject@tracing@platform@v8@@QAE@XZ)
node.node_trace_writer.obj : error LNK2001: unresolved external symbol "public: static class v8::platform::tracing::TraceWriter * __cdecl v8::platform::tracing::TraceWriter::CreateJSONTraceWriter(class std::basic_ostream<char,struct std::char_traits<char> > &)" (?CreateJSONTraceWriter@TraceWriter@tracing@platform@v8@@SAPAV1234@AAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
node.util.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall v8::Isolate::LowMemoryNotification(void)" (__imp_?LowMemoryNotification@Isolate@v8@@QAEXXZ)
node.node_crypto.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::AccessorSignature> __cdecl v8::AccessorSignature::New(class v8::Isolate *,class v8::Local<class v8::FunctionTemplate>)" (__imp_?New@AccessorSignature@v8@@SA?AV?$Local@VAccessorSignature@v8@@@2@PAVIsolate@2@V?$Local@VFunctionTemplate@v8@@@2@@Z)
node.dll : fatal error LNK1120: 401 unresolved externals
Traceback (most recent call last):
File "gyp-win-tool", line 323, in <module>
sys.exit(main(sys.argv[1:]))
File "gyp-win-tool", line 29, in main
exit_code = executor.Dispatch(args)
File "gyp-win-tool", line 71, in Dispatch
return getattr(self, method)(*args[1:])
File "gyp-win-tool", line 179, in ExecLinkWithManifests
subprocess.check_call(ldcmd + add_to_ld)
File "C:\Users\Administrator\codebase\depot_tools\win_tools-2_7_6_bin\python\bin\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'C:\Users\Administrator\codebase\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe gyp-win-tool link-wrapper environment.x86 False link.exe /nologo /IMPLIB:node.dll.lib /DLL /OUT:node.dll @node.dll.rsp node.dll.manifest.res' returned non-zero exit status 1120
ninja: build stopped: subcommand
Please help.