S
S
SkyTaurus2015-11-18 20:39:56
SQLite
SkyTaurus, 2015-11-18 20:39:56

How to build sqlite3 under node-webkit?

Good afternoon.
I can't build sqlite3 under node-webkit I'm doing it
under windows 10 64 bit

npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=win32 --target=0.10.5  --msvs_version
=2012

And during compilation there are errors:
C:\!!!\node_modules\sqlite3\node_modules\nan\nan.h(459): error C2039: 'SetCounterFunction' : is not a member of 'v8::Is
olate' (..\src\statement.cc) [C:\!!!\node_modules\sqlite3\build\node_sqlite3.vcxproj]
          C:\Users\SkyTa\.nw-gyp\0.10.5\deps\v8\include\v8.h(4128) : see declaration of 'v8::Isolate'
C:\!!!\node_modules\sqlite3\node_modules\nan\nan.h(464): error C2039: 'SetCreateHistogramFunction' : is not a member of
 'v8::Isolate' (..\src\statement.cc) [C:\!!!\node_modules\sqlite3\build\node_sqlite3.vcxproj]
          C:\Users\SkyTa\.nw-gyp\0.10.5\deps\v8\include\v8.h(4128) : see declaration of 'v8::Isolate'
C:\!!!\node_modules\sqlite3\node_modules\nan\nan.h(469): error C2039: 'SetAddHistogramSampleFunction' : is not a member
 of 'v8::Isolate' (..\src\statement.cc) [C:\!!!\node_modules\sqlite3\build\node_sqlite3.vcxproj]
          C:\Users\SkyTa\.nw-gyp\0.10.5\deps\v8\include\v8.h(4128) : see declaration of 'v8::Isolate'
C:\!!!\node_modules\sqlite3\node_modules\nan\nan.h(480): error C2039: 'IdleNotification' : is not a member of 'v8::Isol
ate' (..\src\statement.cc) [C:\!!!\node_modules\sqlite3\build\node_sqlite3.vcxproj]
          C:\Users\SkyTa\.nw-gyp\0.10.5\deps\v8\include\v8.h(4128) : see declaration of 'v8::Isolate'
C:\!!!\node_modules\sqlite3\node_modules\nan\nan.h(485): error C2039: 'LowMemoryNotification' : is not a member of 'v8:
:Isolate' (..\src\statement.cc) [C:\!!!\node_modules\sqlite3\build\node_sqlite3.vcxproj]
          C:\Users\SkyTa\.nw-gyp\0.10.5\deps\v8\include\v8.h(4128) : see declaration of 'v8::Isolate'
C:\!!!\node_modules\sqlite3\node_modules\nan\nan.h(489): error C2039: 'ContextDisposedNotification' : is not a member o
f 'v8::Isolate' (..\src\statement.cc) [C:\!!!\node_modules\sqlite3\build\node_sqlite3.vcxproj]

Maybe someone managed to build a module for node-webkit and share the binary?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question