Skip to content

Instantly share code, notes, and snippets.

@andrewrt
Created November 7, 2019 18:05
Show Gist options
  • Save andrewrt/44424138c566cb0e2b5b4e6d52b3aef4 to your computer and use it in GitHub Desktop.
Save andrewrt/44424138c566cb0e2b5b4e6d52b3aef4 to your computer and use it in GitHub Desktop.
$ HOME=~/.electron-gyp node-gyp rebuild --target=6.1.4 --arch=x64 --dist-url=https://electronjs.org/headers
gyp info it worked if it ends with ok
gyp info using node-gyp@6.0.1
gyp info using node@12.4.0 | win32 | x64
gyp info find Python using Python version 2.7.17 found at "C:\Python27\python.exe"
gyp info find VS using VS2019 (16.1.29102.190) found at:
gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
gyp info find VS run with --verbose for detailed information
gyp info spawn C:\Python27\python.exe
gyp info spawn args [
gyp info spawn args 'C:\\Users\\andrew\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\andrew\\code\\js\\electron\\test-ef6\\node_modules\\sharp\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\andrew\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\andrew\\AppData\\Local\\node-gyp\\Cache\\6.1.4\\include\\node\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\\Users\\andrew\\AppData\\Local\\node-gyp\\Cache\\6.1.4',
gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\andrew\\AppData\\Roaming\\npm\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\andrew\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\6.1.4\\\\<(target_arch)\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\\Users\\andrew\\code\\js\\electron\\test-ef6\\node_modules\\sharp',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\\Users\\andrew\\code\\js\\electron\\test-ef6\\node_modules\\sharp\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
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.
VError.cpp
VInterpolate.cpp
VImage.cpp
win_delay_load_hook.cc
Creating library C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\Release\libvips-cpp.lib and object C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\Release\libvips-cpp.exp
Generating code
Previous IPDB not found, fall back to full compilation.
All 948 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
libvips-cpp.vcxproj -> C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\Release\\libvips-cpp.dll
common.cc
metadata.cc
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8205,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\metadata.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\metadata.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8214,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\metadata.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\metadata.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8205,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\common.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\common.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8214,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\common.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
stats.cc
operations.cc
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\common.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8205,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\stats.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\stats.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8214,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\stats.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\stats.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8205,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\operations.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\operations.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8214,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\operations.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
pipeline.cc
sharp.cc
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\operations.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8205,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\sharp.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\sharp.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8214,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\sharp.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\sharp.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8205,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\pipeline.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\pipeline.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8214,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\pipeline.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
utilities.cc
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\pipeline.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8205,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\utilities.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\utilities.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(8214,1): warning C4996: 'v8::MicrotasksCompletedCallback': was declared deprecated (compiling source file ..\src\utilities.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
win_delay_load_hook.cc
C:\Users\andrew\AppData\Local\node-gyp\Cache\6.1.4\include\node\v8.h(6667): message : see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\utilities.cc) [C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\sharp.vcxproj]
Creating library C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\Release\sharp.lib and object C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\Release\sharp.exp
Generating code
Previous IPDB not found, fall back to full compilation.
All 1148 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
sharp.vcxproj -> C:\Users\andrew\code\js\electron\test-ef6\node_modules\sharp\build\Release\\sharp.node
gyp info ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment