Closed osrf-migration closed 7 years ago
Original comment by Emeric Colombe (Bitbucket: emericc1).
Hi, I'm having the same issue, with node 8
Original comment by Mohamd Ayman (Bitbucket: Mohamd Ayman).
NodeV8 won't work right now, there is a PR that will enable nodeV8 to work, it's expected to be merged very soon, So you can either use node v 0.10 or switch to branch '[upgrade-node](Link https://bitbucket.org/mohamd_ayman/gzweb/branch/upgrade-node)' and use node V 6+. @emericc1 .
Original report (archived issue) by Anonymous.
Hi,
I am trying to install gzweb. I have followed the instructions on the gazebo website and also referred bitbucket instructions but i am getting gyp errors while executing ./deploy.sh -m. Below is the information from the terminal. Any help in solving the issue would be highly appreciated. Thanks
abj@abj-Latitude-E5550:~/gzweb$ sudo ./deploy.sh -m [sudo] password for abj: Build a local model database. Download from gazebo_models repository. ./deploy.sh: line 66: npm: command not found -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- gzweb version 1.1.0 CMake Warning (dev) at CMakeLists.txt:23 (set): Policy CMP0053 is not set: Simplify variable reference and escape sequence evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
For input:
the old evaluation rules produce:
but the new evaluation rules produce:
Using the old result for compatibility since the policy is not set. This warning is for project developers. Use -Wno-dev to suppress it.
-- Build type not selected: Release selected by default -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'gazebo>=1.9.0' -- Found gazebo, version 7.0.0 -- Checking for module 'jansson' -- Found jansson, version 2.7 -- Checking for module 'gts' -- Found gts, version 0.7.6 -- Boost version: 1.58.0 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE New(const v8::Arguments& args);
^
../GZNode.hh:39:62: error: ‘Arguments’ in namespace ‘v8’ does not name a type
private: static v8::Handle Callback(const v8::Arguments& args);
^
../GZNode.hh:41:61: error: ‘Arguments’ in namespace ‘v8’ does not name a type
private: static v8::Handle Request(const v8::Arguments& args);
^
../GZNode.hh:44:11: error: ‘Arguments’ in namespace ‘v8’ does not name a type
v8::Arguments& args);
^
../GZNode.hh:47:11: error: ‘Arguments’ in namespace ‘v8’ does not name a type
v8::Arguments& args);
^
../GZNode.hh:50:58: error: ‘Arguments’ in namespace ‘v8’ does not name a type
SetPoseMsgFilterMinimumDistanceSquared(const v8::Arguments& args);
^
../GZNode.hh:53:58: error: ‘Arguments’ in namespace ‘v8’ does not name a type
GetPoseMsgFilterMinimumDistanceSquared(const v8::Arguments& args);
^
../GZNode.hh:56:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
SetPoseMsgFilterMinimumQuaternionSquared(const v8::Arguments& args);
^
../GZNode.hh:59:32: error: ‘Arguments’ in namespace ‘v8’ does not name a type
SetConnected(const v8::Arguments& args);
^
../GZNode.hh:62:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
GetPoseMsgFilterMinimumQuaternionSquared(const v8::Arguments& args);
^
../GZNode.hh:65:31: error: ‘Arguments’ in namespace ‘v8’ does not name a type
GetMessages(const v8::Arguments& args);
^
../GZNode.hh:68:39: error: ‘Arguments’ in namespace ‘v8’ does not name a type
LoadMaterialScripts(const v8::Arguments& args);
^
../GZNode.hh:71:42: error: ‘Arguments’ in namespace ‘v8’ does not name a type
GetIsGzServerConnected(const v8::Arguments& args);
^
../GZNode.hh:74:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type
GetMaterialScriptsMessage(const v8::Arguments& args);
^
../GZNode.cc: In static member function ‘static void gzweb::GZNode::Init(v8::Handle)’:
../GZNode.cc:54:58: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
Local tpl = FunctionTemplate::New(New);
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:55:21: error: ‘NewSymbol’ is not a member of ‘v8::String’
tpl->SetClassName(String::NewSymbol("GZNode"));
^
../GZNode.cc:58:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
tpl->PrototypeTemplate()->Set(String::NewSymbol("loadMaterialScripts"),
^
../GZNode.cc:59:48: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
FunctionTemplate::New(LoadMaterialScripts)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:61:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
tpl->PrototypeTemplate()->Set(String::NewSymbol("setCallback"),
^
../GZNode.cc:62:37: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
FunctionTemplate::New(Callback)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:64:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
tpl->PrototypeTemplate()->Set(String::NewSymbol("request"),
^
../GZNode.cc:65:36: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
FunctionTemplate::New(Request)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:67:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
tpl->PrototypeTemplate()->Set(String::NewSymbol("getMessages"),
^
../GZNode.cc:68:40: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
FunctionTemplate::New(GetMessages)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:70:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
tpl->PrototypeTemplate()->Set(String::NewSymbol("getPoseMsgFilterMinimumAge")
^
../GZNode.cc:71:55: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
FunctionTemplate::New(GetPoseMsgFilterMinimumAge)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:73:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
tpl->PrototypeTemplate()->Set(String::NewSymbol("setPoseMsgFilterMinimumAge")
^
../GZNode.cc:74:55: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
FunctionTemplate::New(SetPoseMsgFilterMinimumAge)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:77:5: error: ‘NewSymbol’ is not a member of ‘v8::String’
String::NewSymbol("getPoseMsgFilterMinimumDistanceSquared"),
^
../GZNode.cc:79:47: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
GetPoseMsgFilterMinimumDistanceSquared)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:82:7: error: ‘NewSymbol’ is not a member of ‘v8::String’
String::NewSymbol("setPoseMsgFilterMinimumDistanceSquared"),
^
../GZNode.cc:84:49: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
SetPoseMsgFilterMinimumDistanceSquared)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:87:7: error: ‘NewSymbol’ is not a member of ‘v8::String’
String::NewSymbol("getPoseMsgFilterMinimumQuaternionSquared"),
^
../GZNode.cc:89:51: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
GetPoseMsgFilterMinimumQuaternionSquared)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:92:7: error: ‘NewSymbol’ is not a member of ‘v8::String’
String::NewSymbol("setPoseMsgFilterMinimumQuaternionSquared"),
^
../GZNode.cc:94:51: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
SetPoseMsgFilterMinimumQuaternionSquared)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:96:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
tpl->PrototypeTemplate()->Set(String::NewSymbol("setConnected"),
^
../GZNode.cc:98:23: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
SetConnected)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:101:8: error: ‘NewSymbol’ is not a member of ‘v8::String’
String::NewSymbol("getIsGzServerConnected"),
^
../GZNode.cc:103:34: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
GetIsGzServerConnected)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:105:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
tpl->PrototypeTemplate()->Set(String::NewSymbol("getMaterialScriptsMessage"),
^
../GZNode.cc:106:55: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’
FunctionTemplate::New(GetMaterialScriptsMessage)->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int)
static Local New(
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate ’
../GZNode.cc:109:51: error: no matching function for call to ‘v8::Persistent::New(v8::Local)’
Persistent::New(tpl->GetFunction());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:7181:4: note: candidate: static T v8::PersistentBase::New(v8::Isolate , T) [with T = v8::Function]
T PersistentBase::New(Isolate isolate, T that) {
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:7181:4: note: candidate expects 2 arguments, 1 provided
../GZNode.cc:111:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("GZNode"), constructor);
^
../GZNode.cc: At global scope:
../GZNode.cc:115:33: error: ‘Arguments’ does not name a type
Handle GZNode::New(const Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::New(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:117:15: error: within this context
HandleScope scope;
^
../GZNode.cc:120:8: error: ‘class gzweb::GZNode’ has no member named ‘Wrap’
obj->Wrap(args.This());
^
../GZNode.cc:120:18: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
obj->Wrap(args.This());
^
../GZNode.cc:122:15: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
return args.This();
^
../GZNode.cc: At global scope:
../GZNode.cc:126:49: error: ‘Arguments’ does not name a type
Handle GZNode::LoadMaterialScripts(const Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::LoadMaterialScripts(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:128:15: error: within this context
HandleScope scope;
^
../GZNode.cc:130:12: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../GZNode.cc:133:9: error: ‘New’ is not a member of ‘v8::String’
String::New("Wrong number of arguments")));
^
../GZNode.cc:133:50: error: ‘ThrowException’ was not declared in this scope
String::New("Wrong number of arguments")));
^
../GZNode.cc:134:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:134:34: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate)’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc:137:14: error: invalid types ‘const int[int]’ for array subscript
if (!args[0]->IsString())
^
../GZNode.cc:140:9: error: ‘New’ is not a member of ‘v8::String’
String::New("Wrong argument type. String expected.")));
^
../GZNode.cc:140:62: error: ‘ThrowException’ was not declared in this scope
String::New("Wrong argument type. String expected.")));
^
../GZNode.cc:141:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:141:34: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate)’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc:144:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:144:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:144:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:146:32: error: invalid types ‘const int[int]’ for array subscript
String::Utf8Value path(args[0]->ToString());
^
../GZNode.cc:149:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:149:32: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate )’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc: At global scope:
../GZNode.cc:152:55: error: ‘Arguments’ does not name a type
Handle GZNode::GetMaterialScriptsMessage(const Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::GetMaterialScriptsMessage(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:154:15: error: within this context
HandleScope scope;
^
../GZNode.cc:156:12: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../GZNode.cc:159:10: error: ‘New’ is not a member of ‘v8::String’
String::New("Wrong number of arguments")));
^
../GZNode.cc:159:51: error: ‘ThrowException’ was not declared in this scope
String::New("Wrong number of arguments")));
^
../GZNode.cc:160:19: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:160:35: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate )’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc:163:15: error: invalid types ‘const int[int]’ for array subscript
if (!args[0]->IsString())
^
../GZNode.cc:166:10: error: ‘New’ is not a member of ‘v8::String’
String::New("Wrong argument type. String expected.")));
^
../GZNode.cc:166:63: error: ‘ThrowException’ was not declared in this scope
String::New("Wrong argument type. String expected.")));
^
../GZNode.cc:167:19: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:167:35: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate )’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc:170:33: error: invalid types ‘const int[int]’ for array subscript
String::Utf8Value path(args[0]->ToString());
^
../GZNode.cc:181:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(String::New(msg.c_str()));
^
../GZNode.cc:181:22: error: ‘New’ is not a member of ‘v8::String’
return scope.Close(String::New(msg.c_str()));
^
../GZNode.cc: At global scope:
../GZNode.cc:185:37: error: ‘Arguments’ does not name a type
Handle GZNode::Request(const Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::Request(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:187:15: error: within this context
HandleScope scope;
^
../GZNode.cc:189:12: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() < 1)
^
../GZNode.cc:192:9: error: ‘New’ is not a member of ‘v8::String’
String::New("Wrong number of arguments")));
^
../GZNode.cc:192:50: error: ‘ThrowException’ was not declared in this scope
String::New("Wrong number of arguments")));
^
../GZNode.cc:193:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:193:34: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate )’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc:196:14: error: invalid types ‘const int[int]’ for array subscript
if (!args[0]->IsString())
^
../GZNode.cc:199:9: error: ‘New’ is not a member of ‘v8::String’
String::New("Wrong argument type. String expected.")));
^
../GZNode.cc:199:62: error: ‘ThrowException’ was not declared in this scope
String::New("Wrong argument type. String expected.")));
^
../GZNode.cc:200:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:200:34: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate )’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc:203:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:203:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:203:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:205:35: error: invalid types ‘const int[int]’ for array subscript
String::Utf8Value request(args[0]->ToString());
^
../GZNode.cc:208:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:208:32: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate)’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc: At global scope:
../GZNode.cc:212:38: error: ‘Arguments’ does not name a type
Handle GZNode::Callback(const Arguments& args) {
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::Callback(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:213:15: error: within this context
HandleScope scope;
^
../GZNode.cc:215:60: error: invalid types ‘const int[int]’ for array subscript
v8::Local cb = Local::Cast(args[0]);
^
../GZNode.cc:217:49: error: ‘New’ is not a member of ‘v8::String’
Local argv[argc] = { Local::New(String::New("hello world")) };
^
../GZNode.cc:218:12: error: ‘GetCurrent’ is not a member of ‘v8::Context’
cb->Call(Context::GetCurrent()->Global(), argc, argv);
^
../GZNode.cc:220:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:220:32: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate)’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc: At global scope:
../GZNode.cc:224:64: error: ‘Arguments’ in namespace ‘v8’ does not name a type
Handle GZNode::SetPoseMsgFilterMinimumAge(const v8::Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::SetPoseMsgFilterMinimumAge(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:226:15: error: within this context
HandleScope scope;
^
../GZNode.cc:228:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:228:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:228:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:229:47: error: invalid types ‘const int[int]’ for array subscript
Local v = Local::Cast(args[0]);
^
../GZNode.cc:233:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:233:32: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate )’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc: At global scope:
../GZNode.cc:238:19: error: ‘Arguments’ in namespace ‘v8’ does not name a type
v8::Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::GetPoseMsgFilterMinimumAge(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:240:15: error: within this context
HandleScope scope;
^
../GZNode.cc:241:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:241:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:241:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:243:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Number::New(value));
^
../GZNode.cc:243:39: error: no matching function for call to ‘v8::Number::New(double&)’
return scope.Close(Number::New(value));
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate: static v8::Local v8::Number::New(v8::Isolate, double)
static Local New(Isolate isolate, double value);
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate expects 2 arguments, 1 provided
../GZNode.cc: At global scope:
../GZNode.cc:248:9: error: ‘Arguments’ in namespace ‘v8’ does not name a type
v8::Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::SetPoseMsgFilterMinimumDistanceSquared(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:250:15: error: within this context
HandleScope scope;
^
../GZNode.cc:252:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:252:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:252:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:253:47: error: invalid types ‘const int[int]’ for array subscript
Local v = Local::Cast(args[0]);
^
../GZNode.cc:257:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:257:32: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate )’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc: At global scope:
../GZNode.cc:262:9: error: ‘Arguments’ in namespace ‘v8’ does not name a type
v8::Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::GetPoseMsgFilterMinimumDistanceSquared(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:264:15: error: within this context
HandleScope scope;
^
../GZNode.cc:265:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:265:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:265:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:267:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Number::New(value));
^
../GZNode.cc:267:39: error: no matching function for call to ‘v8::Number::New(double&)’
return scope.Close(Number::New(value));
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate: static v8::Local v8::Number::New(v8::Isolate, double)
static Local New(Isolate isolate, double value);
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate expects 2 arguments, 1 provided
../GZNode.cc: At global scope:
../GZNode.cc:272:9: error: ‘Arguments’ in namespace ‘v8’ does not name a type
v8::Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::SetPoseMsgFilterMinimumQuaternionSquared(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:274:15: error: within this context
HandleScope scope;
^
../GZNode.cc:276:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:276:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:276:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:277:47: error: invalid types ‘const int[int]’ for array subscript
Local v = Local::Cast(args[0]);
^
../GZNode.cc:281:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:281:32: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate )’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc: At global scope:
../GZNode.cc:285:50: error: ‘Arguments’ in namespace ‘v8’ does not name a type
Handle GZNode::SetConnected(const v8::Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::SetConnected(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:287:15: error: within this context
HandleScope scope;
^
../GZNode.cc:289:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:289:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:289:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:290:22: error: invalid types ‘const int[int]’ for array subscript
bool value = args[0]->BooleanValue();
^
../GZNode.cc:293:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../GZNode.cc:293:32: error: too few arguments to function ‘v8::Local v8::Undefined(v8::Isolate)’
return scope.Close(Undefined());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
friend Local Undefined(Isolate isolate);
^
../GZNode.cc: At global scope:
../GZNode.cc:296:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
Handle GZNode::GetIsGzServerConnected(const v8::Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::GetIsGzServerConnected(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:298:15: error: within this context
HandleScope scope;
^
../GZNode.cc:300:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:300:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:300:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:303:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Boolean::New(value));
^
../GZNode.cc:303:40: error: no matching function for call to ‘v8::Boolean::New(bool&)’
return scope.Close(Boolean::New(value));
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:7603:16: note: candidate: static v8::Local v8::Boolean::New(v8::Isolate , bool)
Local Boolean::New(Isolate isolate, bool value) {
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:7603:16: note: candidate expects 2 arguments, 1 provided
../GZNode.cc: At global scope:
../GZNode.cc:308:9: error: ‘Arguments’ in namespace ‘v8’ does not name a type
v8::Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::GetPoseMsgFilterMinimumQuaternionSquared(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:310:15: error: within this context
HandleScope scope;
^
../GZNode.cc:311:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:311:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:311:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:313:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Number::New(value));
^
../GZNode.cc:313:39: error: no matching function for call to ‘v8::Number::New(double&)’
return scope.Close(Number::New(value));
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate: static v8::Local v8::Number::New(v8::Isolate, double)
static Local New(Isolate isolate, double value);
^
/home/abj/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate expects 2 arguments, 1 provided
../GZNode.cc: At global scope:
../GZNode.cc:317:41: error: ‘Arguments’ does not name a type
Handle GZNode::GetMessages(const Arguments& args)
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle gzweb::GZNode::GetMessages(const int&)’:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../GZNode.cc:319:15: error: within this context
HandleScope scope;
^
../GZNode.cc:321:17: error: ‘ObjectWrap’ has not been declared
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:321:42: error: expected primary-expression before ‘>’ token
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:321:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
GZNode obj = ObjectWrap::Unwrap(args.This());
^
../GZNode.cc:324:48: error: invalid conversion from ‘std::vector<std::__cxx11::basic_string >::size_type {aka long unsigned int}’ to ‘v8::Isolate ’ [-fpermissive]
Local arguments = Array::New(msgs.size());
^
In file included from /home/abj/.node-gyp/4.2.6/include/node/node.h:42:0,
from ../GZNode.cc:18:
/home/abj/.node-gyp/4.2.6/include/node/v8.h:2965:23: note: initializing argument 1 of ‘static v8::Local v8::Array::New(v8::Isolate, int)’
static Local New(Isolate isolate, int length = 0);
^
../GZNode.cc:326:23: error: ‘New’ is not a member of ‘v8::String’
arguments->Set(i ,String::New(msgs[i].c_str()));
^
../GZNode.cc:329:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(arguments);
^
gzbridge.target.mk:104: recipe for target 'Debug/obj.target/gzbridge/GZNode.o' failed
make: *** [Debug/obj.target/gzbridge/GZNode.o] Error 1
make: Leaving directory '/home/abj/gzweb/gzbridge/build'
gyp ERR! build error
gyp ERR! stack Error:
-- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- filesystem -- regex -- thread -- chrono -- date_time -- atomic -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so
-- Looking for tinyxml.h - found -- Configuring done -- Generating done -- Build files have been written to: /home/abj/gzweb/build Scanning dependencies of target gzcoarse [ 50%] Building CXX object tools/CMakeFiles/gzcoarse.dir/gzcoarse.cc.o [100%] Linking CXX executable gzcoarse [100%] Built target gzcoarse gyp info it worked if it ends with ok gyp info using node-gyp@3.6.2 gyp info using node@4.2.6 | linux | x64 gyp info spawn /usr/bin/python2 gyp info spawn args [ '/home/abj/gzweb/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/home/abj/gzweb/gzbridge/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/home/abj/gzweb/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/abj/.node-gyp/4.2.6/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/abj/.node-gyp/4.2.6', gyp info spawn args '-Dnode_gyp_dir=/home/abj/gzweb/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/abj/.node-gyp/4.2.6/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/abj/gzweb/gzbridge', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' ] gyp info ok gyp info it worked if it ends with ok gyp info using node-gyp@3.6.2 gyp info using node@4.2.6 | linux | x64 gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Debug', '-C', 'build' ] make: Entering directory '/home/abj/gzweb/gzbridge/build' CXX(target) Debug/obj.target/gzbridge/GZNode.o In file included from ../GZNode.cc:19:0: ../GZNode.hh:30:3: error: expected class-name before ‘{’ token { ^ ../GZNode.hh:37:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type private: static v8::Handle
make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/abj/gzweb/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 4.8.0-56-generic gyp ERR! command "/usr/bin/nodejs" "/home/abj/gzweb/node_modules/.bin/node-gyp" "build" "-d" gyp ERR! cwd /home/abj/gzweb/gzbridge gyp ERR! node -v v4.2.6 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok There are node-gyp build errors, exiting.