Sunday, 4 June 2017

Msbuild compiler errors when compiling sqlite-node with node-gyp

I want to make a small electron app which should display some data from a sqlite database.

To do so one has to compile the sqlite package in order to work correctly with electron. I did this with: install-app-deps

But then the installed msbuild is used to do the compiler job and it thows a lot of errors:

For example (3 out of 122)

C:\Users\I.electron-gyp.node-gyp\iojs-1.6.10\deps\v8\include\v8.h(343): error C2988: Unerkannte Vorlagendeklaration/-definition
C:\Users\I.electron-gyp.node-gyp\iojs-1.6.10\deps\v8\include\v8.h(3628): error C2504: 'v8::Object': Basisklasse undefiniert (..\src\statement.cc)
C:\Users\I.electron-gyp.node-gyp\iojs-1.6.10\deps\v8\include\v8.h(3635): error C2061: Syntaxfehler: Bezeichner 'FunctionCallback'

What did I wrong?



via Matthias

No comments:

Post a Comment