You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use gcc toolchain, it'll report an error like:
CXX(target) Release/obj.target/node_sqlite3/src/database.o
../src/database.cc: In static member function ‘static void node_sqlite3::Database::New(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/database.cc:134:71: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>, v8::PropertyAttribute)’
args.This()->Set(NanNew("filename"), args[0]->ToString(), ReadOnly);
^
../src/database.cc:134:71: note: candidates are:
In file included from /home/szm/.nw-gyp/0.11.5/src/node.h:76:0,
from ../src/database.cc:2:
/home/szm/.nw-gyp/0.11.5/deps/v8/include/v8.h:2116:8: note: bool v8::Object::Set(v8::Handle<v8::Value>, v8::Handle<v8::Value>)
bool Set(Handle<Value> key, Handle<Value> value);
The text was updated successfully, but these errors were encountered:
I've been trying to compile node-sqlite3 for node-webkit for a whole day, and still not success.
My OS is ubuntu 14.04 64bit, and the command I use is:
If I compile using clang, it'll say something like:
If I use gcc toolchain, it'll report an error like:
The text was updated successfully, but these errors were encountered: