{"action":"created","issue":{"url":"https://api.github.com/repos/supipd/node-shm/issues/7","labels_url":"https://api.github.com/repos/supipd/node-shm/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/supipd/node-shm/issues/7/comments","events_url":"https://api.github.com/repos/supipd/node-shm/issues/7/events","html_url":"https://github.com/supipd/node-shm/issues/7","id":105260721,"number":7,"title":"'ObjectWrap' : is not a member of 'node' (..","user":{"login":"McFarts","id":13074002,"avatar_url":"https://avatars.githubusercontent.com/u/13074002?v=3","gravatar_id":"","url":"https://api.github.com/users/McFarts","html_url":"https://github.com/McFarts","followers_url":"https://api.github.com/users/McFarts/followers","following_url":"https://api.github.com/users/McFarts/following{/other_user}","gists_url":"https://api.github.com/users/McFarts/gists{/gist_id}","starred_url":"https://api.github.com/users/McFarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McFarts/subscriptions","organizations_url":"https://api.github.com/users/McFarts/orgs","repos_url":"https://api.github.com/users/McFarts/repos","events_url":"https://api.github.com/users/McFarts/events{/privacy}","received_events_url":"https://api.github.com/users/McFarts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-07T19:35:19Z","updated_at":"2015-09-07T19:38:59Z","closed_at":null,"body":"Okay I'm trying to build from node-gyp.\r\n\r\nI did configure, and it was fine.\r\n\r\nThen I tried node-gyp build\r\n\r\nGot:\r\n```\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(25): error C2039: 'ObjectWrap' : is not a member of 'node' (..\\src\\SHMobject.cc) [C:\\WT-NMP\\apps\\bui\r\nld\\shm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(25): error C2504: 'ObjectWrap' : base class undefined (..\\src\\SHMobject.cc) [C:\\WT-NMP\\apps\\build\\sh\r\nm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(28): error C2039: 'Arguments' : is not a member of 'v8' (..\\src\\SHMobject.cc) [C:\\WT-NMP\\apps\\build\\\r\nshm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\\s\r\nrc\\SHMobject.cc) [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(28): error C2143: syntax error : missing ',' before '&' (..\\src\\SHMobject.cc) [C:\\WT-NMP\\apps\\build\\\r\nshm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(25): error C2039: 'ObjectWrap' : is not a member of 'node' (..\\src\\SHM.cc) [C:\\WT-NMP\\apps\\build\\shm\r\n.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(25): error C2504: 'ObjectWrap' : base class undefined (..\\src\\SHM.cc) [C:\\WT-NMP\\apps\\build\\shm.vcxp\r\nroj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(28): error C2039: 'Arguments' : is not a member of 'v8' (..\\src\\SHM.cc) [C:\\WT-NMP\\apps\\build\\shm.vc\r\nxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\\s\r\nrc\\SHM.cc) [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(28): error C2143: syntax error : missing ',' before '&' (..\\src\\SHM.cc) [C:\\WT-NMP\\apps\\build\\shm.vc\r\nxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(36): error C2039: 'Arguments' : is not a member of 'v8' (..\\src\\SHMobject.cc) [C:\\WT-NMP\\apps\\build\\\r\nshm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(36): error C2039: 'Arguments' : is not a member of 'v8' (..\\src\\SHM.cc) [C:\\WT-NMP\\apps\\build\\shm.vc\r\nxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(36): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\\s\r\nrc\\SHMobject.cc) [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(36): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\\s\r\nrc\\SHM.cc) [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(36): error C2143: syntax error : missing ',' before '&' (..\\src\\SHMobject.cc) [C:\\WT-NMP\\apps\\build\\\r\nshm.vcxproj]\r\nc:\\wt-nmp\\apps\\src\\SHMobject.h(36): error C2143: syntax error : missing ',' before '&' (..\\src\\SHM.cc) [C:\\WT-NMP\\apps\\build\\shm.vc\r\nxproj]\r\n..\\src\\SHM.cc(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\\WT-NMP\\apps\\build\\\r\nshm.vcxproj]\r\n..\\src\\SHMobject.cc(16): error C2664: 'v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate *,v8::FunctionCallback\r\n,v8::Handle<v8::Value>,v8::Handle<v8::Signature>,int)' : cannot convert argument 1 from 'v8::Handle<v8::Value> (__cdecl *)(const in\r\nt)' to 'v8::Isolate *' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          There is no context in which this conversion is possible\r\n..\\src\\SHM.cc(12): error C2143: syntax error : missing ',' before '&' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHMobject.cc(17): error C2039: 'NewSymbol' : is not a member of 'v8::String' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(1599) : see declaration of 'v8::String'\r\n..\\src\\SHM.cc(13): error C2248: 'v8::HandleScope::HandleScope' : cannot access protected member declared in class 'v8::HandleScope'\r\n [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(816) : see declaration of 'v8::HandleScope::HandleScope'\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(800) : see declaration of 'v8::HandleScope'\r\n..\\src\\SHMobject.cc(17): error C3861: 'NewSymbol': identifier not found [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(14): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHMobject.cc(20): error C2660: 'v8::PersistentBase<T>::New' : function does not take 1 arguments [C:\\WT-NMP\\apps\\build\\shm.v\r\ncxproj]\r\n          with\r\n          [\r\n              T=v8::Function\r\n          ]\r\n..\\src\\SHM.cc(14): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxp\r\nroj]\r\n..\\src\\SHMobject.cc(23): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\\WT-NMP\\apps\\\r\nbuild\\shm.vcxproj]\r\n..\\src\\SHM.cc(17): error C2039: 'Close' : is not a member of 'v8::HandleScope' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(800) : see declaration of 'v8::HandleScope'\r\n..\\src\\SHMobject.cc(23): error C2143: syntax error : missing ',' before '&' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\\WT-NMP\\apps\\build\\\r\nshm.vcxproj]\r\n..\\src\\SHMobject.cc(24): error C2248: 'v8::HandleScope::HandleScope' : cannot access protected member declared in class 'v8::Handle\r\nScope' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(816) : see declaration of 'v8::HandleScope::HandleScope'\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(800) : see declaration of 'v8::HandleScope'\r\n..\\src\\SHM.cc(29): error C2143: syntax error : missing ',' before '&' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(31): error C2248: 'v8::HandleScope::HandleScope' : cannot access protected member declared in class 'v8::HandleScope'\r\n [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(816) : see declaration of 'v8::HandleScope::HandleScope'\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(800) : see declaration of 'v8::HandleScope'\r\n..\\src\\SHMobject.cc(27): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(33): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHMobject.cc(27): error C2227: left of '->IsUndefined' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\s\r\nhm.vcxproj]\r\n..\\src\\SHM.cc(33): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxp\r\nroj]\r\n..\\src\\SHM.cc(34): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHMobject.cc(27): error C2227: left of '->NumberValue' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\s\r\nhm.vcxproj]\r\n..\\src\\SHM.cc(34): error C2227: left of '->ToString' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxpro\r\nj]\r\n..\\src\\SHMobject.cc(28): error C2039: 'Wrap' : is not a member of 'SHMobject' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          c:\\wt-nmp\\apps\\src\\SHMobject.h(25) : see declaration of 'SHMobject'\r\n..\\src\\SHM.cc(34): error C2512: 'v8::String::Utf8Value' : no appropriate default constructor available [C:\\WT-NMP\\apps\\build\\shm.vc\r\nxproj]\r\n..\\src\\SHMobject.cc(28): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(37): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHMobject.cc(28): error C2228: left of '.This' must have class/struct/union [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          type is 'unknown-type'\r\n..\\src\\SHM.cc(37): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxp\r\nroj]\r\n..\\src\\SHMobject.cc(30): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(38): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHMobject.cc(30): error C2228: left of '.This' must have class/struct/union [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          type is 'unknown-type'\r\n..\\src\\SHM.cc(38): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxp\r\nroj]\r\n..\\src\\SHMobject.cc(33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\\WT-NMP\\apps\\\r\nbuild\\shm.vcxproj]\r\n..\\src\\SHM.cc(41): error C2039: 'Close' : is not a member of 'v8::HandleScope' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(800) : see declaration of 'v8::HandleScope'\r\n..\\src\\SHMobject.cc(33): error C2143: syntax error : missing ',' before '&' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(41): error C2660: 'v8::Number::New' : function does not take 1 arguments [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHMobject.cc(34): error C2248: 'v8::HandleScope::HandleScope' : cannot access protected member declared in class 'v8::Handle\r\nScope' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(816) : see declaration of 'v8::HandleScope::HandleScope'\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(800) : see declaration of 'v8::HandleScope'\r\n..\\src\\SHM.cc(44): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\\WT-NMP\\apps\\build\\\r\nshm.vcxproj]\r\n..\\src\\SHMobject.cc(37): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(44): error C2143: syntax error : missing ',' before '&' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(46): error C2248: 'v8::HandleScope::HandleScope' : cannot access protected member declared in class 'v8::HandleScope'\r\n [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(816) : see declaration of 'v8::HandleScope::HandleScope'\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(800) : see declaration of 'v8::HandleScope'\r\n..\\src\\SHM.cc(48): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(48): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxp\r\nroj]\r\n..\\src\\SHM.cc(49): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(49): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxp\r\nroj]\r\n..\\src\\SHMobject.cc(38): error C2819: type 'v8::Persistent<v8::Function,v8::NonCopyablePersistentTraits<T>>' does not have an overl\r\noaded member 'operator ->' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          with\r\n          [\r\n              T=v8::Function\r\n          ]\r\n          did you intend to use '.' instead?\r\n..\\src\\SHM.cc(50): error C2065: 'args' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHMobject.cc(38): error C2039: 'NewInstance' : is not a member of 'v8::Persistent<v8::Function,v8::NonCopyablePersistentTrai\r\nts<T>>' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          with\r\n          [\r\n              T=v8::Function\r\n          ]\r\n..\\src\\SHM.cc(50): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxp\r\nroj]\r\n..\\src\\SHMobject.cc(40): error C2039: 'Close' : is not a member of 'v8::HandleScope' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(800) : see declaration of 'v8::HandleScope'\r\n..\\src\\SHM.cc(57): error C2882: 'Buffer' : illegal use of namespace identifier in expression [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(57): error C2065: 'slowBuffer' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(58): error C2065: 'slowBuffer' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(60): error C2039: 'GetCurrent' : is not a member of 'v8::Context' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(5212) : see declaration of 'v8::Context'\r\n..\\src\\SHM.cc(60): error C2227: left of '->Global' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          type is 'unknown-type'\r\n..\\src\\SHM.cc(60): error C3861: 'GetCurrent': identifier not found [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(61): error C2039: 'New' : is not a member of 'v8::String' [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n          C:\\Users\\Nick\\.node-gyp\\0.12.4\\deps\\v8\\include\\v8.h(1599) : see declaration of 'v8::String'\r\n..\\src\\SHM.cc(61): error C3861: 'New': identifier not found [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(62): error C2065: 'slowBuffer' : undeclared identifier [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(62): error C2227: left of '->handle_' must point to class/struct/union/generic type [C:\\WT-NMP\\apps\\build\\shm.vcxproj\r\n]\r\n          type is 'unknown-type'\r\n..\\src\\SHM.cc(62): error C2660: 'v8::Integer::New' : function does not take 1 arguments [C:\\WT-NMP\\apps\\build\\shm.vcxproj]\r\n..\\src\\SHM.cc(62): fatal error C1903: unable to recover from previous error(s); stopping compilation [C:\\WT-NMP\\apps\\build\\shm.vcxp\r\nroj]\r\n```\r\n\r\n\r\nAnd I have Visual Studio 2013 installed with VC++ dependencies, any idea? :P Windows 7 64 bit PRO.\r\n"},"comment":{"url":"https://api.github.com/repos/supipd/node-shm/issues/comments/138367046","html_url":"https://github.com/supipd/node-shm/issues/7#issuecomment-138367046","issue_url":"https://api.github.com/repos/supipd/node-shm/issues/7","id":138367046,"user":{"login":"McFarts","id":13074002,"avatar_url":"https://avatars.githubusercontent.com/u/13074002?v=3","gravatar_id":"","url":"https://api.github.com/users/McFarts","html_url":"https://github.com/McFarts","followers_url":"https://api.github.com/users/McFarts/followers","following_url":"https://api.github.com/users/McFarts/following{/other_user}","gists_url":"https://api.github.com/users/McFarts/gists{/gist_id}","starred_url":"https://api.github.com/users/McFarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McFarts/subscriptions","organizations_url":"https://api.github.com/users/McFarts/orgs","repos_url":"https://api.github.com/users/McFarts/repos","events_url":"https://api.github.com/users/McFarts/events{/privacy}","received_events_url":"https://api.github.com/users/McFarts/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T19:38:59Z","updated_at":"2015-09-07T19:38:59Z","body":"I found some information here:\r\n\r\nhttps://github.com/nwjs/nw-gyp/issues/33\r\n\r\n\r\n> Sorry, I think I just realized the problem (correct me if I'm wrong) -- node-odbc is written for node 10.x, but the latest node-webkit is basically like a later version of node (node 11+) thus the headers for core node native code (which node-webkit depends on) have changed and we get this long list of errors. The solution is to use node-webkit 0.8.x or have the maintainer of node-odbc update the module for the latest node version."}}