Skip to content

Instantly share code, notes, and snippets.

@gabrielschulhof
Created April 18, 2017 19:33
Show Gist options
  • Save gabrielschulhof/7967e960d00370474e7247452635e2c7 to your computer and use it in GitHub Desktop.
Save gabrielschulhof/7967e960d00370474e7247452635e2c7 to your computer and use it in GitHub Desktop.
C:\Users\nix\hello\build>"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /t:Rebuild /p:Configuration=Release /p:Platform=x64 hello.vcxproj
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 18.4.2017 22.29.28.
Project "C:\Users\nix\hello\build\hello.vcxproj" on node 1 (Rebuild target(s)).
_PrepareForClean:
Deleting file "Release\obj\hello\hello.tlog\hello.lastbuildstate".
Project "C:\Users\nix\hello\build\hello.vcxproj" (1) is building "C:\Users\nix\hello\node_module
s\node-api\src\node-api.vcxproj" (2) on node 1 (Clean target(s)).
_PrepareForClean:
Deleting file "Release\obj\node-api\node-api.tlog\node-api.lastbuildstate".
Done Building Project "C:\Users\nix\hello\node_modules\node-api\src\node-api.vcxproj" (Clean tar
get(s)).
Project "C:\Users\nix\hello\build\hello.vcxproj" (1) is building "C:\Users\nix\hello\node_module
s\node-api\src\node-api.vcxproj" (2:2) on node 1 (default targets).
InitializeBuildStatus:
Creating "Release\obj\node-api\node-api.tlog\unsuccessfulbuild" because "AlwaysCreate" was spe
cified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\CL.exe /c /I"C:\Users\nix\.no
de-gyp\7.7.3\include\node" /I"C:\Users\nix\.node-gyp\7.7.3\src" /I"C:\Users\nix\.node-gyp\7.7.
3\deps\uv\include" /I"C:\Users\nix\.node-gyp\7.7.3\deps\v8\include" /Zi /nologo /W3 /WX- /Ox /
Ob2 /Oi /Ot /Oy /GL /D "NODE_GYP_MODULE_NAME=node-api" /D USING_UV_SHARED=1 /D USING_V8_SHARED
=1 /D V8_DEPRECATION_WARNINGS=1 /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPREC
ATE /D _HAS_EXCEPTIONS=0 /D EXTERNAL_NAPI /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:for
Scope /Zc:inline /GR- /Fo"Release\obj\node-api\\" /Fd"Release\obj\node-api\node-api.pdb" /Gd /
TP /wd4267 /wd4351 /wd4355 /wd4800 /wd4251 /errorReport:queue /MP node_api.cc "C:\Program File
s\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc"
node_api.cc
win_delay_load_hook.cc
Lib:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\Lib.exe /OUT:"C:\Users\nix\he
llo\node_modules\node-api\src\Release\node-api.lib" /NOLOGO /MACHINE:X64 /LTCG "Release\obj\no
de-api\node_api.obj"
"Release\obj\node-api\win_delay_load_hook.obj"
node-api.vcxproj -> C:\Users\nix\hello\node_modules\node-api\src\Release\\node-api.lib
FinalizeBuildStatus:
Deleting file "Release\obj\node-api\node-api.tlog\unsuccessfulbuild".
Touching "Release\obj\node-api\node-api.tlog\node-api.lastbuildstate".
Done Building Project "C:\Users\nix\hello\node_modules\node-api\src\node-api.vcxproj" (default t
argets).
InitializeBuildStatus:
Touching "Release\obj\hello\hello.tlog\unsuccessfulbuild".
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\CL.exe /c /I"C:\Users\nix\.no
de-gyp\7.7.3\include\node" /I"C:\Users\nix\.node-gyp\7.7.3\src" /I"C:\Users\nix\.node-gyp\7.7.
3\deps\uv\include" /I"C:\Users\nix\.node-gyp\7.7.3\deps\v8\include" /I"C:\Users\nix\hello\node
_modules\node-api\src" /Zi /nologo /W3 /WX- /Ox /Ob2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=h
ello /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D WIN32 /D _CRT_S
ECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D BUILDING_NODE_EXTENSIO
N /D _WINDLL /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Rel
ease\obj\hello\\" /Fd"Release\obj\hello\vc140.pdb" /Gd /TP /wd4267 /wd4351 /wd4355 /wd4800 /wd
4251 /errorReport:queue /MP ..\hello.cc "C:\Program Files\nodejs\node_modules\npm\node_modules
\node-gyp\src\win_delay_load_hook.cc"
hello.cc
win_delay_load_hook.cc
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /
OUT:"C:\Users\nix\hello\build\Release\hello.node" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.
lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.l
ib odbc32.lib DelayImp.lib "C:\Users\nix\.node-gyp\7.7.3\Release\node.lib" Delayimp.lib /DELAY
LOAD:iojs.exe /DELAYLOAD:node.exe /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/manifest:embed /DEBUG /PDB:"C:\Users\nix\hello\build\Release\hello.pdb" /MAP /MAPINFO:EXPORTS
/OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ignore:4199 /DLL Releas
e\obj\hello\hello.obj
Release\obj\hello\win_delay_load_hook.obj
"C:\Users\nix\hello\node_modules\node-api\src\Release\node-api.lib"
Creating library C:\Users\nix\hello\build\Release\hello.lib and object C:\Users\nix\hello\b
uild\Release\hello.exp
hello.obj : error LNK2001: unresolved external symbol __imp_napi_create_function [C:\Users\nix\h
ello\build\hello.vcxproj]
hello.obj : error LNK2001: unresolved external symbol __imp_napi_create_number [C:\Users\nix\hel
lo\build\hello.vcxproj]
hello.obj : error LNK2001: unresolved external symbol __imp_napi_module_register [C:\Users\nix\h
ello\build\hello.vcxproj]
hello.obj : error LNK2001: unresolved external symbol __imp_napi_set_named_property [C:\Users\ni
x\hello\build\hello.vcxproj]
C:\Users\nix\hello\build\Release\hello.node : fatal error LNK1120: 4 unresolved externals [C:\Us
ers\nix\hello\build\hello.vcxproj]
Done Building Project "C:\Users\nix\hello\build\hello.vcxproj" (Rebuild target(s)) -- FAILED.
Build FAILED.
"C:\Users\nix\hello\build\hello.vcxproj" (Rebuild target) (1) ->
(Link target) ->
hello.obj : error LNK2001: unresolved external symbol __imp_napi_create_function [C:\Users\nix
\hello\build\hello.vcxproj]
hello.obj : error LNK2001: unresolved external symbol __imp_napi_create_number [C:\Users\nix\h
ello\build\hello.vcxproj]
hello.obj : error LNK2001: unresolved external symbol __imp_napi_module_register [C:\Users\nix
\hello\build\hello.vcxproj]
hello.obj : error LNK2001: unresolved external symbol __imp_napi_set_named_property [C:\Users\
nix\hello\build\hello.vcxproj]
C:\Users\nix\hello\build\Release\hello.node : fatal error LNK1120: 4 unresolved externals [C:\
Users\nix\hello\build\hello.vcxproj]
0 Warning(s)
5 Error(s)
Time Elapsed 00:00:02.76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment