Cannot compile sqlite3 on Windows against latest nwjs (0.39+)
See original GitHub issueOriginal issue: https://github.com/mapbox/node-sqlite3/issues/1179
All works on 0.38.x and older.
node-sqlite: https://www.npmjs.com/package/sqlite3
Apps:
$ node -v
v12.7.0
$ npm -v
6.10.0
$ npm -g list nw-gyp node-pre-gyp
C:\Users\user_xyz\AppData\Roaming\npm
+-- node-pre-gyp@0.13.0
+-- nw-gyp@3.6.3
Log:
+ npm install sqlite3@4.0.9 --build-from-source --runtime=node-webkit --target_arch=ia32 --target=0.40.0
> sqlite3@4.0.9 install C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
unpack_sqlite_dep
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj]
sqlite3.c
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj]
win_delay_load_hook.cc
sqlite3.vcxproj -> C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\\sqlite3.lib
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
backup.cc
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
database.cc
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
node_sqlite3.cc
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
statement.cc
cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
win_delay_load_hook.cc
..\src\database.cc(49): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(63): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(92): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(96): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(133): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\database.cc(134): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\database.cc(190): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(194): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(199): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(105): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(119): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(273): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(277): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(282): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(167): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(297): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(168): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\backup.cc(169): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(314): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(170): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\backup.cc(236): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\statement.cc(103): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\statement.cc(161): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(301): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(336): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(421): warning C4996: 'Nan::MakeCallback': was declared deprecatedC:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(347): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(412): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(416): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(483): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\database.cc(462): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\node_sqlite3.cc(23): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(24): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\statement.cc(556): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(25): warning C4996: 'Nan::ForceSet': was declared deprecated
..\src\statement.cc(564): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(26): warning C4996: 'Nan::ForceSet': was declared deprecated
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(507): warning C4996: 'Nan::MakeCallback': was declared deprecated
..\src\node_sqlite3.cc(27): warning C4996: 'Nan::ForceSet': was declared deprecatedC:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\statement.cc(680): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\node_sqlite3.cc(28): warning C4996: 'Nan::ForceSet': was declared deprecatedC:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\statement.cc(694): warning C4996: 'Nan::MakeCallback': was declared deprecated
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(29): warning C4996: 'Nan::ForceSet': was declared deprecated..\src\database.cc(564): warning C4996: 'Nan::MakeCallback': was declared deprecated
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(30): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(32): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\statement.cc(743): warning C4996: 'Nan::MakeCallback': was declared deprecated
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(568): warning C4996: 'Nan::MakeCallback': was declared deprecated
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(34): warning C4996: 'Nan::ForceSet': was declared deprecated
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\database.cc(573): warning C4996: 'Nan::MakeCallback': was declared deprecated..\src\node_sqlite3.cc(36): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(37): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(38): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(39): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(40): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(41): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(42): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(43): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\statement.cc(837): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\node_sqlite3.cc(44): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(45): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(46): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(603): warning C4996: 'Nan::MakeCallback': was declared deprecated
..\src\node_sqlite3.cc(47): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\node_sqlite3.cc(48): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(49): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\statement.cc(873): warning C4996: 'Nan::MakeCallback': was declared deprecated
..\src\node_sqlite3.cc(50): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\node_sqlite3.cc(51): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\statement.cc(887): warning C4996: 'Nan::MakeCallback': was declared deprecated
..\src\node_sqlite3.cc(52): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(53): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(54): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(666): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\node_sqlite3.cc(55): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(670): warning C4996: 'Nan::MakeCallback': was declared deprecated
..\src\node_sqlite3.cc(56): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(57): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\database.cc(675): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
..\src\node_sqlite3.cc(58): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(59): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(60): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(61): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\node_sqlite3.cc(62): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'
..\src\backup.cc(78): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\backup.cc(228): note: see reference to function template instantiation 'void node_sqlite3::Backup::Error<node_sqlite3::Backup::InitializeBaton>(T *)' being compiled
with
[
T=node_sqlite3::Backup::InitializeBaton
]
..\src\backup.cc(82): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(74): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
..\src\statement.cc(153): note: see reference to function template instantiation 'void node_sqlite3::Statement::Error<node_sqlite3::Statement::PrepareBaton>(T *)' being compiled
with
[
T=node_sqlite3::Statement::PrepareBaton
]
..\src\statement.cc(78): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
Creating library C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\node_sqlite3.lib and object C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\node_sqlite3.exp
backup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) referenced in function __unwindfunclet$?Get@Nan@@YA?AV?$MaybeLocal@VValue@v8@@@v8@@V?$Local@VObject@v8@@@3@I@Z$0 [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
database.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
node_sqlite3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
statement.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\node_sqlite3.node : fatal error LNK1120: 1 unresolved externals [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\user_xyz\AppData\Roaming\npm\node_modules\nw-gyp\lib\build.js:261:23)
gyp ERR! stack at ChildProcess.emit (events.js:203:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user_xyz\\AppData\\Roaming\\npm\\node_modules\\nw-gyp\\bin\\nw-gyp.js" "build" "--fallback-to-build" "--module=C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\sqlite3\\lib\\binding\\node-webkit-v0.40.0-win32-ia32\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\sqlite3\\lib\\binding\\node-webkit-v0.40.0-win32-ia32" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-webkit-v0.40.0"
gyp ERR! cwd C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3
gyp ERR! node -v v12.7.0
gyp ERR! nw-gyp -v v3.6.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp.cmd build --fallback-to-build --module=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.0' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:203:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Windows_NT 10.0.18362
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3
node-pre-gyp ERR! node -v v12.7.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'nw-gyp.cmd build --fallback-to-build --module=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.0' (1)
npm WARN _build-workspace@1.0.0 No description
npm WARN _build-workspace@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@4.0.9 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@4.0.9 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user_xyz\AppData\Roaming\npm-cache\_logs\2019-08-01T09_30_15_511Z-debug.log
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:23 (5 by maintainers)
Top Results From Across the Web
Cannot compile on Windows 10 against latest nwjs (0.39.1)
Hi, I am trying to compile sqlite3 against the latest version 0.39.1 of nwjs (node-webkit). It works fine on macOS but not on...
Read more >nw.js 0.15.4 sqlite3 build - Google Groups
Need a compiled version sqlite3 for nw.js 0.15.4 windows 32bit ... You can try to install latest nw-gyp 3.4.0 and rebuild sqlite3 with...
Read more >Error installing sqlite3 in node.js - Stack Overflow
I have a problem installing package in node.js. My version of npm is 2.14.3 and I need to install sqlite3 package. In my...
Read more >Release notes — Anaconda documentation
This installer uses python-3.9. This is the first release that provides a python-3.10 variant for anaconda metapackages. This is the last release that...
Read more >Garbled Text Purr-data 2.6.0 (#525) · Issues · Jonathan Wilkes ...
Hello,. I am using Purr-data Pd-l2ork-2.6.0 20181001-rev.4f8d1ccf (the one from the Ubuntu 18.04 repository) on Ubuntu Studio 18.04 and I ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ran into a similar issue building node-hid. After tearing my hair out for hours focusing on Node-hid, and nwjs I was able to resolve the issue by updating my nw-gyp from 3.6.3 to 3.6.5. Teaches me to let my global packages go stale.
@rogerwang
Yes, build is successfully, but after use sqlite in nwjs, crash it.
Btw:
same like:
Demo in attachment: demo.zip Need include NWjs + sqlite3 build for ia32