Code Monkey home page Code Monkey logo

Comments (2)

dragoscirjan avatar dragoscirjan commented on July 29, 2024

🌍 Your Environment

Software Version(s)
Software Node 16
Operating System Windows
NPM/Node/Yarn npm

from node-addon.

dragoscirjan avatar dragoscirjan commented on July 29, 2024

Node 12:

build:dev

gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'C:\\Users\\dragosc\\AppData\\Roaming\\nvm\\v12.20.2\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'build',
gyp verb cli   '--verbose',
gyp verb cli   '--debug'
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command build []
gyp verb build type Debug
gyp verb architecture x64
gyp verb node dev dir C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2
gyp verb found first Solution file build/binding.sln
gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args   'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Debug;Platform=x64'
gyp info spawn args ]
Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
Build started 11/24/2021 12:03:03 AM.
Project "C:\Users\dragosc\Workspace\templates\node-addon\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|x64".
Project "C:\Users\dragosc\Workspace\templates\node-addon\build\binding.sln" (1) is building "C:\Users\dragosc\Workspace\templates\node-addon\build\main.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\obj\main\".
  Creating directory "Debug\obj\main\main.tlog\".
InitializeBuildStatus:
  Creating "Debug\obj\main\main.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX64\x64\CL.exe /c /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\include\node" /I"C:\Users\dragosc\AppData\Loc
  al\node-gyp\Cache\12.20.2\src" /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\deps\openssl\config" /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\deps\openssl\openssl\include" /I"C:\Users\dragosc\A
  ppData\Local\node-gyp\Cache\12.20.2\deps\uv\include" /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\deps\zlib" /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\deps\v8\include" /I"C:\Users\dragosc\Wo
  rkspace\templates\node-addon\node_modules\node-addon-api" /Z7 /nologo /W3 /WX- /diagnostics:column /MP /Od /Oy- /D NODE_GYP_MODULE_NAME=main /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D V8
  _DEPRECATION_WARNINGS /D V8_IMMINENT_DEPRECATION_WARNINGS /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D OPENSSL_NO_PINSHARED /D OPENSSL_THREADS /D NAPI_DISABLE_CPP_EXCEPTION
  S /D BUILDING_NODE_EXTENSION /D "HOST_BINARY=\"node.exe\"" /D DEBUG /D _DEBUG /D V8_ENABLE_CHECKS /D _WINDLL /GF /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\obj\main\\" /Fd"Debug\obj\
  main\vc142.pdb" /Gd /TP /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /FC /errorReport:queue ..\src\main.cc "C:\Users\dragosc\AppData\Roaming\nvm\v12.20.2\node_modules\npm\node_modules\node-gyp\src\win_delay
  _load_hook.cc"
  main.cc
  win_delay_load_hook.cc
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\dragosc\Workspace\templates\node-addon\build\Debug\main.node" /INCREM
  ENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib DelayImp.lib "C:\\Users\\dragosc\\AppData\\Local\\node-gyp\\Cache\\12.20.2\
  \x64\\node.lib" Delayimp.lib /DELAYLOAD:node.exe /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\dragosc\Workspace\templates\node-addon\build\Debug\main.pdb" /TLBID:1
  /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ignore:4199 /DLL Debug\obj\main\main.obj
  Debug\obj\main\win_delay_load_hook.obj
LINK : fatal error LNK1104: cannot open file 'C:\Users\dragosc\Workspace\templates\node-addon\build\Debug\main.node' [C:\Users\dragosc\Workspace\templates\node-addon\build\main.vcxproj]
Done Building Project "C:\Users\dragosc\Workspace\templates\node-addon\build\main.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\Users\dragosc\Workspace\templates\node-addon\build\binding.sln" (default targets) -- FAILED.


Build FAILED.

"C:\Users\dragosc\Workspace\templates\node-addon\build\binding.sln" (default target) (1) ->
"C:\Users\dragosc\Workspace\templates\node-addon\build\main.vcxproj" (default target) (2) ->
(Link target) ->
  LINK : fatal error LNK1104: cannot open file 'C:\Users\dragosc\Workspace\templates\node-addon\build\Debug\main.node' [C:\Users\dragosc\Workspace\templates\node-addon\build\main.vcxproj]

    0 Warning(s)
    1 Error(s)

build

gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'C:\\Users\\dragosc\\AppData\\Roaming\\nvm\\v12.20.2\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'build',
gyp verb cli   '--verbose'
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2
gyp verb found first Solution file build/binding.sln
gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args   'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
Build started 11/24/2021 12:05:40 AM.
Project "C:\Users\dragosc\Workspace\templates\node-addon\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|x64".
Project "C:\Users\dragosc\Workspace\templates\node-addon\build\binding.sln" (1) is building "C:\Users\dragosc\Workspace\templates\node-addon\build\main.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "Release\obj\main\".
  Creating directory "Release\obj\main\main.tlog\".
InitializeBuildStatus:
  Creating "Release\obj\main\main.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX64\x64\CL.exe /c /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\include\node" /I"C:\Users\dragosc\AppData\Loc
  al\node-gyp\Cache\12.20.2\src" /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\deps\openssl\config" /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\deps\openssl\openssl\include" /I"C:\Users\dragosc\A
  ppData\Local\node-gyp\Cache\12.20.2\deps\uv\include" /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\deps\zlib" /I"C:\Users\dragosc\AppData\Local\node-gyp\Cache\12.20.2\deps\v8\include" /I"C:\Users\dragosc\Wo
  rkspace\templates\node-addon\node_modules\node-addon-api" /Z7 /nologo /W3 /WX- /diagnostics:column /MP /Ox /Ob2 /Oi /Ot /Oy /D NODE_GYP_MODULE_NAME=main /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARN
  INGS=1 /D V8_DEPRECATION_WARNINGS /D V8_IMMINENT_DEPRECATION_WARNINGS /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D OPENSSL_NO_PINSHARED /D OPENSSL_THREADS /D NAPI_DISABLE_C
  PP_EXCEPTIONS /D BUILDING_NODE_EXTENSION /D "HOST_BINARY=\"node.exe\"" /D _WINDLL /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\main\\" /Fd"Release\obj\main\vc142.pdb" /Gd /
  TP /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /FC /errorReport:queue ..\src\main.cc "C:\Users\dragosc\AppData\Roaming\nvm\v12.20.2\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc"
  main.cc
  win_delay_load_hook.cc
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\dragosc\Workspace\templates\node-addon\build\Release\main.node" /NOLO
  GO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib DelayImp.lib "C:\\Users\\dragosc\\AppData\\Local\\node-gyp\\Cache\\12.20.2\\x64\\node.
  lib" Delayimp.lib /DELAYLOAD:node.exe /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\dragosc\Workspace\templates\node-addon\build\Release\main.pdb" /TLBID:1 /DYNAMICB
  ASE /NXCOMPAT /MACHINE:X64 /ignore:4199 /DLL Release\obj\main\main.obj
  Release\obj\main\win_delay_load_hook.obj
     Creating library C:\Users\dragosc\Workspace\templates\node-addon\build\Release\main.lib and object C:\Users\dragosc\Workspace\templates\node-addon\build\Release\main.exp
  main.vcxproj -> C:\Users\dragosc\Workspace\templates\node-addon\build\Release\\main.node
FinalizeBuildStatus:
  Deleting file "Release\obj\main\main.tlog\unsuccessfulbuild".
  Touching "Release\obj\main\main.tlog\main.lastbuildstate".
Done Building Project "C:\Users\dragosc\Workspace\templates\node-addon\build\main.vcxproj" (default targets).

Done Building Project "C:\Users\dragosc\Workspace\templates\node-addon\build\binding.sln" (default targets).


Build succeeded.
    0 Warning(s)
    0 Error(s)

from node-addon.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.