Advertisement
paulrusu

Untitled

Apr 10th, 2017
797
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.51 KB | None | 0 0
  1. paul@paul-A68MD-PRO:~/gzweb$ dpkg -l nodejs
  2. Desired=Unknown/Install/Remove/Purge/Hold
  3. | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  4. |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  5. ||/ Name Version Architecture Description
  6. +++-==============-============-============-=================================
  7. ii nodejs 4.2.6~dfsg-1 amd64 evented I/O for V8 javascript
  8. paul@paul-A68MD-PRO:~/gzweb$ sudo ./deploy.sh -m
  9. [sudo] password for paul:
  10. Build a local model database.
  11. Download from gazebo_models repository.
  12. npm WARN gzweb@1.0.0 No license field.
  13. -- The C compiler identification is GNU 5.4.0
  14. -- The CXX compiler identification is GNU 5.4.0
  15. -- Check for working C compiler: /usr/bin/cc
  16. -- Check for working C compiler: /usr/bin/cc -- works
  17. -- Detecting C compiler ABI info
  18. -- Detecting C compiler ABI info - done
  19. -- Detecting C compile features
  20. -- Detecting C compile features - done
  21. -- Check for working CXX compiler: /usr/bin/c++
  22. -- Check for working CXX compiler: /usr/bin/c++ -- works
  23. -- Detecting CXX compiler ABI info
  24. -- Detecting CXX compiler ABI info - done
  25. -- Detecting CXX compile features
  26. -- Detecting CXX compile features - done
  27. -- gzweb version 1.1.0
  28. CMake Warning (dev) at CMakeLists.txt:23 (set):
  29. Policy CMP0053 is not set: Simplify variable reference and escape sequence
  30. evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
  31. cmake_policy command to set the policy and suppress this warning.
  32.  
  33. For input:
  34.  
  35. '@PROJECT_NAME@-@GZWEB_VERSION_FULL@'
  36.  
  37. the old evaluation rules produce:
  38.  
  39. 'gzweb-1.1.0'
  40.  
  41. but the new evaluation rules produce:
  42.  
  43. '@PROJECT_NAME@-@GZWEB_VERSION_FULL@'
  44.  
  45. Using the old result for compatibility since the policy is not set.
  46. This warning is for project developers. Use -Wno-dev to suppress it.
  47.  
  48. -- Build type not selected: Release selected by default
  49. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
  50. -- Checking for module 'gazebo>=1.9.0'
  51. -- Found gazebo, version 7.6.0
  52. -- Checking for module 'jansson'
  53. -- Found jansson, version 2.7
  54. -- Checking for module 'gts'
  55. -- Found gts, version 0.7.6
  56. -- Boost version: 1.58.0
  57. -- Looking for pthread.h
  58. -- Looking for pthread.h - found
  59. -- Looking for pthread_create
  60. -- Looking for pthread_create - not found
  61. -- Looking for pthread_create in pthreads
  62. -- Looking for pthread_create in pthreads - not found
  63. -- Looking for pthread_create in pthread
  64. -- Looking for pthread_create in pthread - found
  65. -- Found Threads: TRUE
  66. -- Boost version: 1.58.0
  67. -- Found the following Boost libraries:
  68. -- system
  69. -- filesystem
  70. -- regex
  71. -- thread
  72. -- chrono
  73. -- date_time
  74. -- atomic
  75. -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so
  76. -- Looking for tinyxml.h - found
  77. -- Configuring done
  78. -- Generating done
  79. -- Build files have been written to: /home/paul/gzweb/build
  80. Scanning dependencies of target gzcoarse
  81. [ 50%] Building CXX object tools/CMakeFiles/gzcoarse.dir/gzcoarse.cc.o
  82. [100%] Linking CXX executable gzcoarse
  83. [100%] Built target gzcoarse
  84. gyp info it worked if it ends with ok
  85. gyp info using node-gyp@3.6.0
  86. gyp info using node@4.2.6 | linux | x64
  87. gyp info spawn /usr/bin/python2
  88. gyp info spawn args [ '/home/paul/gzweb/node_modules/node-gyp/gyp/gyp_main.py',
  89. gyp info spawn args 'binding.gyp',
  90. gyp info spawn args '-f',
  91. gyp info spawn args 'make',
  92. gyp info spawn args '-I',
  93. gyp info spawn args '/home/paul/gzweb/gzbridge/build/config.gypi',
  94. gyp info spawn args '-I',
  95. gyp info spawn args '/home/paul/gzweb/node_modules/node-gyp/addon.gypi',
  96. gyp info spawn args '-I',
  97. gyp info spawn args '/home/paul/.node-gyp/4.2.6/include/node/common.gypi',
  98. gyp info spawn args '-Dlibrary=shared_library',
  99. gyp info spawn args '-Dvisibility=default',
  100. gyp info spawn args '-Dnode_root_dir=/home/paul/.node-gyp/4.2.6',
  101. gyp info spawn args '-Dnode_gyp_dir=/home/paul/gzweb/node_modules/node-gyp',
  102. gyp info spawn args '-Dnode_lib_file=node.lib',
  103. gyp info spawn args '-Dmodule_root_dir=/home/paul/gzweb/gzbridge',
  104. gyp info spawn args '-Dnode_engine=v8',
  105. gyp info spawn args '--depth=.',
  106. gyp info spawn args '--no-parallel',
  107. gyp info spawn args '--generator-output',
  108. gyp info spawn args 'build',
  109. gyp info spawn args '-Goutput_dir=.' ]
  110. gyp info ok
  111. gyp info it worked if it ends with ok
  112. gyp info using node-gyp@3.6.0
  113. gyp info using node@4.2.6 | linux | x64
  114. gyp info spawn make
  115. gyp info spawn args [ 'BUILDTYPE=Debug', '-C', 'build' ]
  116. make: Entering directory '/home/paul/gzweb/gzbridge/build'
  117. CXX(target) Debug/obj.target/gzbridge/GZNode.o
  118. In file included from ../GZNode.cc:19:0:
  119. ../GZNode.hh:30:3: error: expected class-name before ‘{’ token
  120. {
  121. ^
  122. ../GZNode.hh:37:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  123. private: static v8::Handle<v8::Value> New(const v8::Arguments& args);
  124. ^
  125. ../GZNode.hh:39:62: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  126. private: static v8::Handle<v8::Value> Callback(const v8::Arguments& args);
  127. ^
  128. ../GZNode.hh:41:61: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  129. private: static v8::Handle<v8::Value> Request(const v8::Arguments& args);
  130. ^
  131. ../GZNode.hh:44:11: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  132. v8::Arguments& args);
  133. ^
  134. ../GZNode.hh:47:11: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  135. v8::Arguments& args);
  136. ^
  137. ../GZNode.hh:50:58: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  138. SetPoseMsgFilterMinimumDistanceSquared(const v8::Arguments& args);
  139. ^
  140. ../GZNode.hh:53:58: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  141. GetPoseMsgFilterMinimumDistanceSquared(const v8::Arguments& args);
  142. ^
  143. ../GZNode.hh:56:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  144. SetPoseMsgFilterMinimumQuaternionSquared(const v8::Arguments& args);
  145. ^
  146. ../GZNode.hh:59:32: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  147. SetConnected(const v8::Arguments& args);
  148. ^
  149. ../GZNode.hh:62:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  150. GetPoseMsgFilterMinimumQuaternionSquared(const v8::Arguments& args);
  151. ^
  152. ../GZNode.hh:65:31: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  153. GetMessages(const v8::Arguments& args);
  154. ^
  155. ../GZNode.hh:68:39: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  156. LoadMaterialScripts(const v8::Arguments& args);
  157. ^
  158. ../GZNode.hh:71:42: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  159. GetIsGzServerConnected(const v8::Arguments& args);
  160. ^
  161. ../GZNode.hh:74:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  162. GetMaterialScriptsMessage(const v8::Arguments& args);
  163. ^
  164. ../GZNode.cc: In static member function ‘static void gzweb::GZNode::Init(v8::Handle<v8::Object>)’:
  165. ../GZNode.cc:54:58: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  166. Local<FunctionTemplate> tpl = FunctionTemplate::New(New);
  167. ^
  168. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  169. from ../GZNode.cc:18:
  170. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  171. static Local<FunctionTemplate> New(
  172. ^
  173. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  174. ../GZNode.cc:55:21: error: ‘NewSymbol’ is not a member of ‘v8::String’
  175. tpl->SetClassName(String::NewSymbol("GZNode"));
  176. ^
  177. ../GZNode.cc:58:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
  178. tpl->PrototypeTemplate()->Set(String::NewSymbol("loadMaterialScripts"),
  179. ^
  180. ../GZNode.cc:59:48: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  181. FunctionTemplate::New(LoadMaterialScripts)->GetFunction());
  182. ^
  183. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  184. from ../GZNode.cc:18:
  185. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  186. static Local<FunctionTemplate> New(
  187. ^
  188. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  189. ../GZNode.cc:61:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
  190. tpl->PrototypeTemplate()->Set(String::NewSymbol("setCallback"),
  191. ^
  192. ../GZNode.cc:62:37: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  193. FunctionTemplate::New(Callback)->GetFunction());
  194. ^
  195. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  196. from ../GZNode.cc:18:
  197. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  198. static Local<FunctionTemplate> New(
  199. ^
  200. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  201. ../GZNode.cc:64:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
  202. tpl->PrototypeTemplate()->Set(String::NewSymbol("request"),
  203. ^
  204. ../GZNode.cc:65:36: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  205. FunctionTemplate::New(Request)->GetFunction());
  206. ^
  207. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  208. from ../GZNode.cc:18:
  209. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  210. static Local<FunctionTemplate> New(
  211. ^
  212. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  213. ../GZNode.cc:67:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
  214. tpl->PrototypeTemplate()->Set(String::NewSymbol("getMessages"),
  215. ^
  216. ../GZNode.cc:68:40: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  217. FunctionTemplate::New(GetMessages)->GetFunction());
  218. ^
  219. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  220. from ../GZNode.cc:18:
  221. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  222. static Local<FunctionTemplate> New(
  223. ^
  224. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  225. ../GZNode.cc:70:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
  226. tpl->PrototypeTemplate()->Set(String::NewSymbol("getPoseMsgFilterMinimumAge")
  227. ^
  228. ../GZNode.cc:71:55: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  229. FunctionTemplate::New(GetPoseMsgFilterMinimumAge)->GetFunction());
  230. ^
  231. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  232. from ../GZNode.cc:18:
  233. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  234. static Local<FunctionTemplate> New(
  235. ^
  236. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  237. ../GZNode.cc:73:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
  238. tpl->PrototypeTemplate()->Set(String::NewSymbol("setPoseMsgFilterMinimumAge")
  239. ^
  240. ../GZNode.cc:74:55: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  241. FunctionTemplate::New(SetPoseMsgFilterMinimumAge)->GetFunction());
  242. ^
  243. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  244. from ../GZNode.cc:18:
  245. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  246. static Local<FunctionTemplate> New(
  247. ^
  248. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  249. ../GZNode.cc:77:5: error: ‘NewSymbol’ is not a member of ‘v8::String’
  250. String::NewSymbol("getPoseMsgFilterMinimumDistanceSquared"),
  251. ^
  252. ../GZNode.cc:79:47: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  253. GetPoseMsgFilterMinimumDistanceSquared)->GetFunction());
  254. ^
  255. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  256. from ../GZNode.cc:18:
  257. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  258. static Local<FunctionTemplate> New(
  259. ^
  260. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  261. ../GZNode.cc:82:7: error: ‘NewSymbol’ is not a member of ‘v8::String’
  262. String::NewSymbol("setPoseMsgFilterMinimumDistanceSquared"),
  263. ^
  264. ../GZNode.cc:84:49: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  265. SetPoseMsgFilterMinimumDistanceSquared)->GetFunction());
  266. ^
  267. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  268. from ../GZNode.cc:18:
  269. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  270. static Local<FunctionTemplate> New(
  271. ^
  272. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  273. ../GZNode.cc:87:7: error: ‘NewSymbol’ is not a member of ‘v8::String’
  274. String::NewSymbol("getPoseMsgFilterMinimumQuaternionSquared"),
  275. ^
  276. ../GZNode.cc:89:51: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  277. GetPoseMsgFilterMinimumQuaternionSquared)->GetFunction());
  278. ^
  279. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  280. from ../GZNode.cc:18:
  281. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  282. static Local<FunctionTemplate> New(
  283. ^
  284. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  285. ../GZNode.cc:92:7: error: ‘NewSymbol’ is not a member of ‘v8::String’
  286. String::NewSymbol("setPoseMsgFilterMinimumQuaternionSquared"),
  287. ^
  288. ../GZNode.cc:94:51: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  289. SetPoseMsgFilterMinimumQuaternionSquared)->GetFunction());
  290. ^
  291. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  292. from ../GZNode.cc:18:
  293. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  294. static Local<FunctionTemplate> New(
  295. ^
  296. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  297. ../GZNode.cc:96:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
  298. tpl->PrototypeTemplate()->Set(String::NewSymbol("setConnected"),
  299. ^
  300. ../GZNode.cc:98:23: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  301. SetConnected)->GetFunction());
  302. ^
  303. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  304. from ../GZNode.cc:18:
  305. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  306. static Local<FunctionTemplate> New(
  307. ^
  308. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  309. ../GZNode.cc:101:8: error: ‘NewSymbol’ is not a member of ‘v8::String’
  310. String::NewSymbol("getIsGzServerConnected"),
  311. ^
  312. ../GZNode.cc:103:34: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  313. GetIsGzServerConnected)->GetFunction());
  314. ^
  315. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  316. from ../GZNode.cc:18:
  317. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  318. static Local<FunctionTemplate> New(
  319. ^
  320. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  321. ../GZNode.cc:105:33: error: ‘NewSymbol’ is not a member of ‘v8::String’
  322. tpl->PrototypeTemplate()->Set(String::NewSymbol("getMaterialScriptsMessage"),
  323. ^
  324. ../GZNode.cc:106:55: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
  325. FunctionTemplate::New(GetMaterialScriptsMessage)->GetFunction());
  326. ^
  327. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  328. from ../GZNode.cc:18:
  329. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
  330. static Local<FunctionTemplate> New(
  331. ^
  332. /home/paul/.node-gyp/4.2.6/include/node/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
  333. ../GZNode.cc:109:51: error: no matching function for call to ‘v8::Persistent<v8::Function>::New(v8::Local<v8::Function>)’
  334. Persistent<Function>::New(tpl->GetFunction());
  335. ^
  336. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  337. from ../GZNode.cc:18:
  338. /home/paul/.node-gyp/4.2.6/include/node/v8.h:7181:4: note: candidate: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Function]
  339. T* PersistentBase<T>::New(Isolate* isolate, T* that) {
  340. ^
  341. /home/paul/.node-gyp/4.2.6/include/node/v8.h:7181:4: note: candidate expects 2 arguments, 1 provided
  342. ../GZNode.cc:111:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
  343. exports->Set(String::NewSymbol("GZNode"), constructor);
  344. ^
  345. ../GZNode.cc: At global scope:
  346. ../GZNode.cc:115:33: error: ‘Arguments’ does not name a type
  347. Handle<Value> GZNode::New(const Arguments& args)
  348. ^
  349. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  350. from ../GZNode.cc:18:
  351. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::New(const int&)’:
  352. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  353. V8_INLINE HandleScope() {}
  354. ^
  355. ../GZNode.cc:117:15: error: within this context
  356. HandleScope scope;
  357. ^
  358. ../GZNode.cc:120:8: error: ‘class gzweb::GZNode’ has no member named ‘Wrap’
  359. obj->Wrap(args.This());
  360. ^
  361. ../GZNode.cc:120:18: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  362. obj->Wrap(args.This());
  363. ^
  364. ../GZNode.cc:122:15: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  365. return args.This();
  366. ^
  367. ../GZNode.cc: At global scope:
  368. ../GZNode.cc:126:49: error: ‘Arguments’ does not name a type
  369. Handle<Value> GZNode::LoadMaterialScripts(const Arguments& args)
  370. ^
  371. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  372. from ../GZNode.cc:18:
  373. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::LoadMaterialScripts(const int&)’:
  374. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  375. V8_INLINE HandleScope() {}
  376. ^
  377. ../GZNode.cc:128:15: error: within this context
  378. HandleScope scope;
  379. ^
  380. ../GZNode.cc:130:12: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  381. if (args.Length() < 1)
  382. ^
  383. ../GZNode.cc:133:9: error: ‘New’ is not a member of ‘v8::String’
  384. String::New("Wrong number of arguments")));
  385. ^
  386. ../GZNode.cc:133:50: error: ‘ThrowException’ was not declared in this scope
  387. String::New("Wrong number of arguments")));
  388. ^
  389. ../GZNode.cc:134:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  390. return scope.Close(Undefined());
  391. ^
  392. ../GZNode.cc:134:34: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  393. return scope.Close(Undefined());
  394. ^
  395. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  396. from ../GZNode.cc:18:
  397. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  398. friend Local<Primitive> Undefined(Isolate* isolate);
  399. ^
  400. ../GZNode.cc:137:14: error: invalid types ‘const int[int]’ for array subscript
  401. if (!args[0]->IsString())
  402. ^
  403. ../GZNode.cc:140:9: error: ‘New’ is not a member of ‘v8::String’
  404. String::New("Wrong argument type. String expected.")));
  405. ^
  406. ../GZNode.cc:140:62: error: ‘ThrowException’ was not declared in this scope
  407. String::New("Wrong argument type. String expected.")));
  408. ^
  409. ../GZNode.cc:141:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  410. return scope.Close(Undefined());
  411. ^
  412. ../GZNode.cc:141:34: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  413. return scope.Close(Undefined());
  414. ^
  415. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  416. from ../GZNode.cc:18:
  417. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  418. friend Local<Primitive> Undefined(Isolate* isolate);
  419. ^
  420. ../GZNode.cc:144:17: error: ‘ObjectWrap’ has not been declared
  421. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  422. ^
  423. ../GZNode.cc:144:42: error: expected primary-expression before ‘>’ token
  424. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  425. ^
  426. ../GZNode.cc:144:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  427. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  428. ^
  429. ../GZNode.cc:146:32: error: invalid types ‘const int[int]’ for array subscript
  430. String::Utf8Value path(args[0]->ToString());
  431. ^
  432. ../GZNode.cc:149:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  433. return scope.Close(Undefined());
  434. ^
  435. ../GZNode.cc:149:32: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  436. return scope.Close(Undefined());
  437. ^
  438. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  439. from ../GZNode.cc:18:
  440. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  441. friend Local<Primitive> Undefined(Isolate* isolate);
  442. ^
  443. ../GZNode.cc: At global scope:
  444. ../GZNode.cc:152:55: error: ‘Arguments’ does not name a type
  445. Handle<Value> GZNode::GetMaterialScriptsMessage(const Arguments& args)
  446. ^
  447. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  448. from ../GZNode.cc:18:
  449. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::GetMaterialScriptsMessage(const int&)’:
  450. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  451. V8_INLINE HandleScope() {}
  452. ^
  453. ../GZNode.cc:154:15: error: within this context
  454. HandleScope scope;
  455. ^
  456. ../GZNode.cc:156:12: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  457. if (args.Length() < 1)
  458. ^
  459. ../GZNode.cc:159:10: error: ‘New’ is not a member of ‘v8::String’
  460. String::New("Wrong number of arguments")));
  461. ^
  462. ../GZNode.cc:159:51: error: ‘ThrowException’ was not declared in this scope
  463. String::New("Wrong number of arguments")));
  464. ^
  465. ../GZNode.cc:160:19: error: ‘class v8::HandleScope’ has no member named ‘Close’
  466. return scope.Close(Undefined());
  467. ^
  468. ../GZNode.cc:160:35: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  469. return scope.Close(Undefined());
  470. ^
  471. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  472. from ../GZNode.cc:18:
  473. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  474. friend Local<Primitive> Undefined(Isolate* isolate);
  475. ^
  476. ../GZNode.cc:163:15: error: invalid types ‘const int[int]’ for array subscript
  477. if (!args[0]->IsString())
  478. ^
  479. ../GZNode.cc:166:10: error: ‘New’ is not a member of ‘v8::String’
  480. String::New("Wrong argument type. String expected.")));
  481. ^
  482. ../GZNode.cc:166:63: error: ‘ThrowException’ was not declared in this scope
  483. String::New("Wrong argument type. String expected.")));
  484. ^
  485. ../GZNode.cc:167:19: error: ‘class v8::HandleScope’ has no member named ‘Close’
  486. return scope.Close(Undefined());
  487. ^
  488. ../GZNode.cc:167:35: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  489. return scope.Close(Undefined());
  490. ^
  491. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  492. from ../GZNode.cc:18:
  493. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  494. friend Local<Primitive> Undefined(Isolate* isolate);
  495. ^
  496. ../GZNode.cc:170:33: error: invalid types ‘const int[int]’ for array subscript
  497. String::Utf8Value path(args[0]->ToString());
  498. ^
  499. ../GZNode.cc:181:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  500. return scope.Close(String::New(msg.c_str()));
  501. ^
  502. ../GZNode.cc:181:22: error: ‘New’ is not a member of ‘v8::String’
  503. return scope.Close(String::New(msg.c_str()));
  504. ^
  505. ../GZNode.cc: At global scope:
  506. ../GZNode.cc:185:37: error: ‘Arguments’ does not name a type
  507. Handle<Value> GZNode::Request(const Arguments& args)
  508. ^
  509. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  510. from ../GZNode.cc:18:
  511. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::Request(const int&)’:
  512. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  513. V8_INLINE HandleScope() {}
  514. ^
  515. ../GZNode.cc:187:15: error: within this context
  516. HandleScope scope;
  517. ^
  518. ../GZNode.cc:189:12: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  519. if (args.Length() < 1)
  520. ^
  521. ../GZNode.cc:192:9: error: ‘New’ is not a member of ‘v8::String’
  522. String::New("Wrong number of arguments")));
  523. ^
  524. ../GZNode.cc:192:50: error: ‘ThrowException’ was not declared in this scope
  525. String::New("Wrong number of arguments")));
  526. ^
  527. ../GZNode.cc:193:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  528. return scope.Close(Undefined());
  529. ^
  530. ../GZNode.cc:193:34: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  531. return scope.Close(Undefined());
  532. ^
  533. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  534. from ../GZNode.cc:18:
  535. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  536. friend Local<Primitive> Undefined(Isolate* isolate);
  537. ^
  538. ../GZNode.cc:196:14: error: invalid types ‘const int[int]’ for array subscript
  539. if (!args[0]->IsString())
  540. ^
  541. ../GZNode.cc:199:9: error: ‘New’ is not a member of ‘v8::String’
  542. String::New("Wrong argument type. String expected.")));
  543. ^
  544. ../GZNode.cc:199:62: error: ‘ThrowException’ was not declared in this scope
  545. String::New("Wrong argument type. String expected.")));
  546. ^
  547. ../GZNode.cc:200:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  548. return scope.Close(Undefined());
  549. ^
  550. ../GZNode.cc:200:34: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  551. return scope.Close(Undefined());
  552. ^
  553. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  554. from ../GZNode.cc:18:
  555. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  556. friend Local<Primitive> Undefined(Isolate* isolate);
  557. ^
  558. ../GZNode.cc:203:17: error: ‘ObjectWrap’ has not been declared
  559. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  560. ^
  561. ../GZNode.cc:203:42: error: expected primary-expression before ‘>’ token
  562. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  563. ^
  564. ../GZNode.cc:203:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  565. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  566. ^
  567. ../GZNode.cc:205:35: error: invalid types ‘const int[int]’ for array subscript
  568. String::Utf8Value request(args[0]->ToString());
  569. ^
  570. ../GZNode.cc:208:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  571. return scope.Close(Undefined());
  572. ^
  573. ../GZNode.cc:208:32: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  574. return scope.Close(Undefined());
  575. ^
  576. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  577. from ../GZNode.cc:18:
  578. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  579. friend Local<Primitive> Undefined(Isolate* isolate);
  580. ^
  581. ../GZNode.cc: At global scope:
  582. ../GZNode.cc:212:38: error: ‘Arguments’ does not name a type
  583. Handle<Value> GZNode::Callback(const Arguments& args) {
  584. ^
  585. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  586. from ../GZNode.cc:18:
  587. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::Callback(const int&)’:
  588. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  589. V8_INLINE HandleScope() {}
  590. ^
  591. ../GZNode.cc:213:15: error: within this context
  592. HandleScope scope;
  593. ^
  594. ../GZNode.cc:215:60: error: invalid types ‘const int[int]’ for array subscript
  595. v8::Local<v8::Function> cb = Local<Function>::Cast(args[0]);
  596. ^
  597. ../GZNode.cc:217:49: error: ‘New’ is not a member of ‘v8::String’
  598. Local<Value> argv[argc] = { Local<Value>::New(String::New("hello world")) };
  599. ^
  600. ../GZNode.cc:218:12: error: ‘GetCurrent’ is not a member of ‘v8::Context’
  601. cb->Call(Context::GetCurrent()->Global(), argc, argv);
  602. ^
  603. ../GZNode.cc:220:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  604. return scope.Close(Undefined());
  605. ^
  606. ../GZNode.cc:220:32: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  607. return scope.Close(Undefined());
  608. ^
  609. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  610. from ../GZNode.cc:18:
  611. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  612. friend Local<Primitive> Undefined(Isolate* isolate);
  613. ^
  614. ../GZNode.cc: At global scope:
  615. ../GZNode.cc:224:64: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  616. Handle<v8::Value> GZNode::SetPoseMsgFilterMinimumAge(const v8::Arguments& args)
  617. ^
  618. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  619. from ../GZNode.cc:18:
  620. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::SetPoseMsgFilterMinimumAge(const int&)’:
  621. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  622. V8_INLINE HandleScope() {}
  623. ^
  624. ../GZNode.cc:226:15: error: within this context
  625. HandleScope scope;
  626. ^
  627. ../GZNode.cc:228:17: error: ‘ObjectWrap’ has not been declared
  628. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  629. ^
  630. ../GZNode.cc:228:42: error: expected primary-expression before ‘>’ token
  631. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  632. ^
  633. ../GZNode.cc:228:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  634. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  635. ^
  636. ../GZNode.cc:229:47: error: invalid types ‘const int[int]’ for array subscript
  637. Local<Number> v = Local<Number>::Cast(args[0]);
  638. ^
  639. ../GZNode.cc:233:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  640. return scope.Close(Undefined());
  641. ^
  642. ../GZNode.cc:233:32: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  643. return scope.Close(Undefined());
  644. ^
  645. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  646. from ../GZNode.cc:18:
  647. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  648. friend Local<Primitive> Undefined(Isolate* isolate);
  649. ^
  650. ../GZNode.cc: At global scope:
  651. ../GZNode.cc:238:19: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  652. v8::Arguments& args)
  653. ^
  654. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  655. from ../GZNode.cc:18:
  656. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::GetPoseMsgFilterMinimumAge(const int&)’:
  657. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  658. V8_INLINE HandleScope() {}
  659. ^
  660. ../GZNode.cc:240:15: error: within this context
  661. HandleScope scope;
  662. ^
  663. ../GZNode.cc:241:17: error: ‘ObjectWrap’ has not been declared
  664. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  665. ^
  666. ../GZNode.cc:241:42: error: expected primary-expression before ‘>’ token
  667. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  668. ^
  669. ../GZNode.cc:241:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  670. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  671. ^
  672. ../GZNode.cc:243:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  673. return scope.Close(Number::New(value));
  674. ^
  675. ../GZNode.cc:243:39: error: no matching function for call to ‘v8::Number::New(double&)’
  676. return scope.Close(Number::New(value));
  677. ^
  678. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  679. from ../GZNode.cc:18:
  680. /home/paul/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
  681. static Local<Number> New(Isolate* isolate, double value);
  682. ^
  683. /home/paul/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate expects 2 arguments, 1 provided
  684. ../GZNode.cc: At global scope:
  685. ../GZNode.cc:248:9: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  686. v8::Arguments& args)
  687. ^
  688. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  689. from ../GZNode.cc:18:
  690. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::SetPoseMsgFilterMinimumDistanceSquared(const int&)’:
  691. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  692. V8_INLINE HandleScope() {}
  693. ^
  694. ../GZNode.cc:250:15: error: within this context
  695. HandleScope scope;
  696. ^
  697. ../GZNode.cc:252:17: error: ‘ObjectWrap’ has not been declared
  698. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  699. ^
  700. ../GZNode.cc:252:42: error: expected primary-expression before ‘>’ token
  701. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  702. ^
  703. ../GZNode.cc:252:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  704. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  705. ^
  706. ../GZNode.cc:253:47: error: invalid types ‘const int[int]’ for array subscript
  707. Local<Number> v = Local<Number>::Cast(args[0]);
  708. ^
  709. ../GZNode.cc:257:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  710. return scope.Close(Undefined());
  711. ^
  712. ../GZNode.cc:257:32: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  713. return scope.Close(Undefined());
  714. ^
  715. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  716. from ../GZNode.cc:18:
  717. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  718. friend Local<Primitive> Undefined(Isolate* isolate);
  719. ^
  720. ../GZNode.cc: At global scope:
  721. ../GZNode.cc:262:9: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  722. v8::Arguments& args)
  723. ^
  724. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  725. from ../GZNode.cc:18:
  726. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::GetPoseMsgFilterMinimumDistanceSquared(const int&)’:
  727. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  728. V8_INLINE HandleScope() {}
  729. ^
  730. ../GZNode.cc:264:15: error: within this context
  731. HandleScope scope;
  732. ^
  733. ../GZNode.cc:265:17: error: ‘ObjectWrap’ has not been declared
  734. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  735. ^
  736. ../GZNode.cc:265:42: error: expected primary-expression before ‘>’ token
  737. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  738. ^
  739. ../GZNode.cc:265:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  740. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  741. ^
  742. ../GZNode.cc:267:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  743. return scope.Close(Number::New(value));
  744. ^
  745. ../GZNode.cc:267:39: error: no matching function for call to ‘v8::Number::New(double&)’
  746. return scope.Close(Number::New(value));
  747. ^
  748. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  749. from ../GZNode.cc:18:
  750. /home/paul/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
  751. static Local<Number> New(Isolate* isolate, double value);
  752. ^
  753. /home/paul/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate expects 2 arguments, 1 provided
  754. ../GZNode.cc: At global scope:
  755. ../GZNode.cc:272:9: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  756. v8::Arguments& args)
  757. ^
  758. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  759. from ../GZNode.cc:18:
  760. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::SetPoseMsgFilterMinimumQuaternionSquared(const int&)’:
  761. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  762. V8_INLINE HandleScope() {}
  763. ^
  764. ../GZNode.cc:274:15: error: within this context
  765. HandleScope scope;
  766. ^
  767. ../GZNode.cc:276:17: error: ‘ObjectWrap’ has not been declared
  768. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  769. ^
  770. ../GZNode.cc:276:42: error: expected primary-expression before ‘>’ token
  771. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  772. ^
  773. ../GZNode.cc:276:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  774. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  775. ^
  776. ../GZNode.cc:277:47: error: invalid types ‘const int[int]’ for array subscript
  777. Local<Number> v = Local<Number>::Cast(args[0]);
  778. ^
  779. ../GZNode.cc:281:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  780. return scope.Close(Undefined());
  781. ^
  782. ../GZNode.cc:281:32: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  783. return scope.Close(Undefined());
  784. ^
  785. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  786. from ../GZNode.cc:18:
  787. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  788. friend Local<Primitive> Undefined(Isolate* isolate);
  789. ^
  790. ../GZNode.cc: At global scope:
  791. ../GZNode.cc:285:50: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  792. Handle<v8::Value> GZNode::SetConnected(const v8::Arguments& args)
  793. ^
  794. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  795. from ../GZNode.cc:18:
  796. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::SetConnected(const int&)’:
  797. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  798. V8_INLINE HandleScope() {}
  799. ^
  800. ../GZNode.cc:287:15: error: within this context
  801. HandleScope scope;
  802. ^
  803. ../GZNode.cc:289:17: error: ‘ObjectWrap’ has not been declared
  804. GZNode *obj = ObjectWrap::Unwrap<GZNode>(args.This());
  805. ^
  806. ../GZNode.cc:289:42: error: expected primary-expression before ‘>’ token
  807. GZNode *obj = ObjectWrap::Unwrap<GZNode>(args.This());
  808. ^
  809. ../GZNode.cc:289:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  810. GZNode *obj = ObjectWrap::Unwrap<GZNode>(args.This());
  811. ^
  812. ../GZNode.cc:290:22: error: invalid types ‘const int[int]’ for array subscript
  813. bool value = args[0]->BooleanValue();
  814. ^
  815. ../GZNode.cc:293:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  816. return scope.Close(Undefined());
  817. ^
  818. ../GZNode.cc:293:32: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
  819. return scope.Close(Undefined());
  820. ^
  821. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  822. from ../GZNode.cc:18:
  823. /home/paul/.node-gyp/4.2.6/include/node/v8.h:315:27: note: declared here
  824. friend Local<Primitive> Undefined(Isolate* isolate);
  825. ^
  826. ../GZNode.cc: At global scope:
  827. ../GZNode.cc:296:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  828. Handle<v8::Value> GZNode::GetIsGzServerConnected(const v8::Arguments& args)
  829. ^
  830. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  831. from ../GZNode.cc:18:
  832. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::GetIsGzServerConnected(const int&)’:
  833. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  834. V8_INLINE HandleScope() {}
  835. ^
  836. ../GZNode.cc:298:15: error: within this context
  837. HandleScope scope;
  838. ^
  839. ../GZNode.cc:300:17: error: ‘ObjectWrap’ has not been declared
  840. GZNode *obj = ObjectWrap::Unwrap<GZNode>(args.This());
  841. ^
  842. ../GZNode.cc:300:42: error: expected primary-expression before ‘>’ token
  843. GZNode *obj = ObjectWrap::Unwrap<GZNode>(args.This());
  844. ^
  845. ../GZNode.cc:300:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  846. GZNode *obj = ObjectWrap::Unwrap<GZNode>(args.This());
  847. ^
  848. ../GZNode.cc:303:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  849. return scope.Close(Boolean::New(value));
  850. ^
  851. ../GZNode.cc:303:40: error: no matching function for call to ‘v8::Boolean::New(bool&)’
  852. return scope.Close(Boolean::New(value));
  853. ^
  854. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  855. from ../GZNode.cc:18:
  856. /home/paul/.node-gyp/4.2.6/include/node/v8.h:7603:16: note: candidate: static v8::Local<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
  857. Local<Boolean> Boolean::New(Isolate* isolate, bool value) {
  858. ^
  859. /home/paul/.node-gyp/4.2.6/include/node/v8.h:7603:16: note: candidate expects 2 arguments, 1 provided
  860. ../GZNode.cc: At global scope:
  861. ../GZNode.cc:308:9: error: ‘Arguments’ in namespace ‘v8’ does not name a type
  862. v8::Arguments& args)
  863. ^
  864. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  865. from ../GZNode.cc:18:
  866. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::GetPoseMsgFilterMinimumQuaternionSquared(const int&)’:
  867. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  868. V8_INLINE HandleScope() {}
  869. ^
  870. ../GZNode.cc:310:15: error: within this context
  871. HandleScope scope;
  872. ^
  873. ../GZNode.cc:311:17: error: ‘ObjectWrap’ has not been declared
  874. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  875. ^
  876. ../GZNode.cc:311:42: error: expected primary-expression before ‘>’ token
  877. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  878. ^
  879. ../GZNode.cc:311:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  880. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  881. ^
  882. ../GZNode.cc:313:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  883. return scope.Close(Number::New(value));
  884. ^
  885. ../GZNode.cc:313:39: error: no matching function for call to ‘v8::Number::New(double&)’
  886. return scope.Close(Number::New(value));
  887. ^
  888. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  889. from ../GZNode.cc:18:
  890. /home/paul/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
  891. static Local<Number> New(Isolate* isolate, double value);
  892. ^
  893. /home/paul/.node-gyp/4.2.6/include/node/v8.h:2486:24: note: candidate expects 2 arguments, 1 provided
  894. ../GZNode.cc: At global scope:
  895. ../GZNode.cc:317:41: error: ‘Arguments’ does not name a type
  896. Handle<Value> GZNode::GetMessages(const Arguments& args)
  897. ^
  898. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  899. from ../GZNode.cc:18:
  900. /home/paul/.node-gyp/4.2.6/include/node/v8.h: In static member function ‘static v8::Handle<v8::Value> gzweb::GZNode::GetMessages(const int&)’:
  901. /home/paul/.node-gyp/4.2.6/include/node/v8.h:885:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  902. V8_INLINE HandleScope() {}
  903. ^
  904. ../GZNode.cc:319:15: error: within this context
  905. HandleScope scope;
  906. ^
  907. ../GZNode.cc:321:17: error: ‘ObjectWrap’ has not been declared
  908. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  909. ^
  910. ../GZNode.cc:321:42: error: expected primary-expression before ‘>’ token
  911. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  912. ^
  913. ../GZNode.cc:321:49: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
  914. GZNode* obj = ObjectWrap::Unwrap<GZNode>(args.This());
  915. ^
  916. ../GZNode.cc:324:48: error: invalid conversion from ‘std::vector<std::__cxx11::basic_string<char> >::size_type {aka long unsigned int}’ to ‘v8::Isolate*’ [-fpermissive]
  917. Local<Array> arguments = Array::New(msgs.size());
  918. ^
  919. In file included from /home/paul/.node-gyp/4.2.6/include/node/node.h:42:0,
  920. from ../GZNode.cc:18:
  921. /home/paul/.node-gyp/4.2.6/include/node/v8.h:2965:23: note: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’
  922. static Local<Array> New(Isolate* isolate, int length = 0);
  923. ^
  924. ../GZNode.cc:326:23: error: ‘New’ is not a member of ‘v8::String’
  925. arguments->Set(i ,String::New(msgs[i].c_str()));
  926. ^
  927. ../GZNode.cc:329:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
  928. return scope.Close(arguments);
  929. ^
  930. gzbridge.target.mk:104: recipe for target 'Debug/obj.target/gzbridge/GZNode.o' failed
  931. make: *** [Debug/obj.target/gzbridge/GZNode.o] Error 1
  932. make: Leaving directory '/home/paul/gzweb/gzbridge/build'
  933. gyp ERR! build error
  934. gyp ERR! stack Error: `make` failed with exit code: 2
  935. gyp ERR! stack at ChildProcess.onExit (/home/paul/gzweb/node_modules/node-gyp/lib/build.js:285:23)
  936. gyp ERR! stack at emitTwo (events.js:87:13)
  937. gyp ERR! stack at ChildProcess.emit (events.js:172:7)
  938. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
  939. gyp ERR! System Linux 4.8.0-46-generic
  940. gyp ERR! command "/usr/bin/nodejs" "/home/paul/gzweb/node_modules/.bin/node-gyp" "build" "-d"
  941. gyp ERR! cwd /home/paul/gzweb/gzbridge
  942. gyp ERR! node -v v4.2.6
  943. gyp ERR! node-gyp -v v3.6.0
  944. gyp ERR! not ok
  945. There are node-gyp build errors, exiting.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement