Created
August 8, 2015 16:37
-
-
Save vird/59d40f2ba77f1968f26b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'i', 'v4l2camera' ] | |
2 info using npm@2.11.2 | |
3 info using node@v0.12.6 | |
4 verbose install initial load of /opt/ext/package.json | |
5 verbose installManyTop reading scoped package data from /opt/ext/node_modules/nooocl/package.json | |
6 verbose installManyTop reading scoped package data from /opt/ext/node_modules/ref/package.json | |
7 info package.json nooocl@0.9.10 No license field. | |
8 info package.json ref@1.0.2 No license field. | |
9 verbose readDependencies loading dependencies from /opt/ext/package.json | |
10 silly cache add args [ 'v4l2camera', null ] | |
11 verbose cache add spec v4l2camera | |
12 silly cache add parsed spec { raw: 'v4l2camera', | |
12 silly cache add scope: null, | |
12 silly cache add name: 'v4l2camera', | |
12 silly cache add rawSpec: '', | |
12 silly cache add spec: '*', | |
12 silly cache add type: 'range' } | |
13 silly addNamed v4l2camera@* | |
14 verbose addNamed "*" is a valid semver range for v4l2camera | |
15 silly addNameRange { name: 'v4l2camera', range: '*', hasData: false } | |
16 silly mapToRegistry name v4l2camera | |
17 silly mapToRegistry using default registry | |
18 silly mapToRegistry registry https://registry.npmjs.org/ | |
19 silly mapToRegistry uri https://registry.npmjs.org/v4l2camera | |
20 verbose addNameRange registry:https://registry.npmjs.org/v4l2camera not in flight; fetching | |
21 verbose request uri https://registry.npmjs.org/v4l2camera | |
22 verbose request no auth needed | |
23 info attempt registry request try #1 at 19:36:21 | |
24 verbose request id 5b220fb31f65b8b2 | |
25 verbose etag "C897YBA6UHJKWWXWQEPI3V5DW" | |
26 http request GET https://registry.npmjs.org/v4l2camera | |
27 http 304 https://registry.npmjs.org/v4l2camera | |
28 silly get cb [ 304, | |
28 silly get { date: 'Sat, 08 Aug 2015 16:36:21 GMT', | |
28 silly get via: '1.1 varnish', | |
28 silly get 'cache-control': 'max-age=60', | |
28 silly get etag: '"C897YBA6UHJKWWXWQEPI3V5DW"', | |
28 silly get age: '0', | |
28 silly get connection: 'keep-alive', | |
28 silly get 'x-served-by': 'cache-fra1230-FRA', | |
28 silly get 'x-cache': 'HIT', | |
28 silly get 'x-cache-hits': '1', | |
28 silly get 'x-timer': 'S1439051781.752062,VS0,VE708', | |
28 silly get vary: 'Accept' } ] | |
29 verbose etag https://registry.npmjs.org/v4l2camera from cache | |
30 verbose get saving v4l2camera to /root/.npm/registry.npmjs.org/v4l2camera/.cache.json | |
31 silly addNameRange number 2 { name: 'v4l2camera', range: '*', hasData: true } | |
32 silly addNameRange versions [ 'v4l2camera', | |
32 silly addNameRange [ '0.0.3', | |
32 silly addNameRange '0.0.4', | |
32 silly addNameRange '0.0.5', | |
32 silly addNameRange '0.1.0', | |
32 silly addNameRange '0.1.1', | |
32 silly addNameRange '0.2.0', | |
32 silly addNameRange '0.2.1', | |
32 silly addNameRange '0.2.2', | |
32 silly addNameRange '0.3.0', | |
32 silly addNameRange '0.4.0', | |
32 silly addNameRange '0.4.1', | |
32 silly addNameRange '0.4.2', | |
32 silly addNameRange '0.4.3' ] ] | |
33 silly addNamed v4l2camera@0.4.3 | |
34 verbose addNamed "0.4.3" is a plain semver version for v4l2camera | |
35 silly cache afterAdd v4l2camera@0.4.3 | |
36 verbose afterAdd /root/.npm/v4l2camera/0.4.3/package/package.json not in flight; writing | |
37 verbose afterAdd /root/.npm/v4l2camera/0.4.3/package/package.json written | |
38 silly install resolved [ { name: 'v4l2camera', | |
38 silly install resolved version: '0.4.3', | |
38 silly install resolved description: 'Capturing images from USB(UVC) webcam on linux machines', | |
38 silly install resolved keywords: [ 'linux', 'camera', 'native', 'v4l2', 'video4linux2' ], | |
38 silly install resolved homepage: 'https://github.com/bellbind/node-v4l2camera', | |
38 silly install resolved bugs: { url: 'https://github.com/bellbind/node-v4l2camera/issues' }, | |
38 silly install resolved licenses: [ [Object], [Object] ], | |
38 silly install resolved author: | |
38 silly install resolved { name: 'bellbind', | |
38 silly install resolved email: 'bellbind@gmail.com', | |
38 silly install resolved url: 'http://bellbind.tumblr.com' }, | |
38 silly install resolved main: './index.js', | |
38 silly install resolved directories: { example: './examples' }, | |
38 silly install resolved repository: | |
38 silly install resolved { type: 'git', | |
38 silly install resolved url: 'git+ssh://git@github.com/bellbind/node-v4l2camera.git' }, | |
38 silly install resolved devDependencies: { png: '*', pngjs: '*' }, | |
38 silly install resolved engines: { node: '>=0.10.0' }, | |
38 silly install resolved scripts: { test: 'node test.js', install: 'node-gyp rebuild' }, | |
38 silly install resolved os: [ 'linux' ], | |
38 silly install resolved gypfile: true, | |
38 silly install resolved _id: 'v4l2camera@0.4.3', | |
38 silly install resolved dist: | |
38 silly install resolved { shasum: '068a764b34dab0d75de54bf88abbb8076b7f3e01', | |
38 silly install resolved tarball: 'http://registry.npmjs.org/v4l2camera/-/v4l2camera-0.4.3.tgz' }, | |
38 silly install resolved _from: 'v4l2camera@*', | |
38 silly install resolved _npmVersion: '1.3.14', | |
38 silly install resolved _npmUser: { name: 'bellbind', email: 'bellbind@gmail.com' }, | |
38 silly install resolved maintainers: [ [Object] ], | |
38 silly install resolved _shasum: '068a764b34dab0d75de54bf88abbb8076b7f3e01', | |
38 silly install resolved _resolved: 'https://registry.npmjs.org/v4l2camera/-/v4l2camera-0.4.3.tgz', | |
38 silly install resolved readme: 'ERROR: No README data found!' } ] | |
39 info install v4l2camera@0.4.3 into /opt/ext | |
40 info installOne v4l2camera@0.4.3 | |
41 verbose installOne of v4l2camera to /opt/ext not in flight; installing | |
42 verbose lock using /root/.npm/_locks/v4l2camera-3e346ae8761f91e5.lock for /opt/ext/node_modules/v4l2camera | |
43 silly install write writing v4l2camera 0.4.3 to /opt/ext/node_modules/v4l2camera | |
44 verbose unbuild node_modules/v4l2camera | |
45 silly gentlyRm /opt/ext/node_modules/v4l2camera is being purged from base /opt/ext | |
46 verbose gentlyRm don't care about contents; nuking /opt/ext/node_modules/v4l2camera | |
47 verbose tar unpack /root/.npm/v4l2camera/0.4.3/package.tgz | |
48 verbose tar unpacking to /opt/ext/node_modules/v4l2camera | |
49 silly gentlyRm /opt/ext/node_modules/v4l2camera is being purged | |
50 verbose gentlyRm don't care about contents; nuking /opt/ext/node_modules/v4l2camera | |
51 silly gunzTarPerm modes [ '755', '644' ] | |
52 silly gunzTarPerm extractEntry package.json | |
53 silly gunzTarPerm extractEntry .npmignore | |
54 silly gunzTarPerm extractEntry index.js | |
55 silly gunzTarPerm extractEntry test.js | |
56 silly gunzTarPerm extractEntry binding.gyp | |
57 silly gunzTarPerm extractEntry c-examples/capture-jpeg.c | |
58 silly gunzTarPerm extractEntry c-examples/list-controls.c | |
59 silly gunzTarPerm extractEntry c-examples/list-formats.c | |
60 silly gunzTarPerm extractEntry c-examples.makefile | |
61 silly gunzTarPerm extractEntry .travis.yml | |
62 silly gunzTarPerm extractEntry capture.h | |
63 silly gunzTarPerm extractEntry examples/capture-native.js | |
64 silly gunzTarPerm extractEntry examples/capture-two-size.js | |
65 silly gunzTarPerm extractEntry examples/capture-via-yuyv.js | |
66 silly gunzTarPerm extractEntry examples/capture.js | |
67 silly gunzTarPerm extractEntry examples/image-stream-server-native.js | |
68 silly gunzTarPerm extractEntry examples/image-stream-server.js | |
69 silly gunzTarPerm extractEntry examples/yuyv-stream-server.js | |
70 silly gunzTarPerm extractEntry v4l2camera.cc | |
71 silly gunzTarPerm extractEntry LICENSE-LGPL-3.0.txt | |
72 silly gunzTarPerm extractEntry readme.md | |
73 silly gunzTarPerm extractEntry LICENSE-MIT.txt | |
74 silly gunzTarPerm extractEntry capture.c | |
75 verbose write writing to /opt/ext/node_modules/v4l2camera/package.json | |
76 info preinstall v4l2camera@0.4.3 | |
77 verbose readDependencies loading dependencies from /opt/ext/node_modules/v4l2camera/package.json | |
78 verbose readDependencies loading dependencies from /opt/ext/node_modules/v4l2camera/package.json | |
79 silly install resolved [] | |
80 verbose about to build /opt/ext/node_modules/v4l2camera | |
81 info build /opt/ext/node_modules/v4l2camera | |
82 info linkStuff v4l2camera@0.4.3 | |
83 silly linkStuff v4l2camera@0.4.3 has /opt/ext/node_modules as its parent node_modules | |
84 verbose linkBins v4l2camera@0.4.3 | |
85 verbose linkMans v4l2camera@0.4.3 | |
86 verbose rebuildBundles v4l2camera@0.4.3 | |
87 info install v4l2camera@0.4.3 | |
88 verbose unsafe-perm in lifecycle false | |
89 info v4l2camera@0.4.3 Failed to exec install script | |
90 verbose unlock done using /root/.npm/_locks/v4l2camera-3e346ae8761f91e5.lock for /opt/ext/node_modules/v4l2camera | |
91 verbose stack Error: v4l2camera@0.4.3 install: `node-gyp rebuild` | |
91 verbose stack Exit status 1 | |
91 verbose stack at EventEmitter.<anonymous> (/usr/lib64/node_modules/npm/lib/utils/lifecycle.js:213:16) | |
91 verbose stack at EventEmitter.emit (events.js:110:17) | |
91 verbose stack at ChildProcess.<anonymous> (/usr/lib64/node_modules/npm/lib/utils/spawn.js:24:14) | |
91 verbose stack at ChildProcess.emit (events.js:110:17) | |
91 verbose stack at maybeClose (child_process.js:1015:16) | |
91 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5) | |
92 verbose pkgid v4l2camera@0.4.3 | |
93 verbose cwd /opt/ext | |
94 error Linux 3.18.14-calculate | |
95 error argv "/usr/bin/node" "/usr/bin/npm" "i" "v4l2camera" | |
96 error node v0.12.6 | |
97 error npm v2.11.2 | |
98 error code ELIFECYCLE | |
99 error v4l2camera@0.4.3 install: `node-gyp rebuild` | |
99 error Exit status 1 | |
100 error Failed at the v4l2camera@0.4.3 install script 'node-gyp rebuild'. | |
100 error This is most likely a problem with the v4l2camera package, | |
100 error not with npm itself. | |
100 error Tell the author that this fails on your system: | |
100 error node-gyp rebuild | |
100 error You can get their info via: | |
100 error npm owner ls v4l2camera | |
100 error There is likely additional logging output above. | |
101 verbose exit [ 1, true ] | |
102 verbose unbuild node_modules/v4l2camera | |
103 info preuninstall v4l2camera@0.4.3 | |
104 info uninstall v4l2camera@0.4.3 | |
105 verbose unbuild rmStuff v4l2camera@0.4.3 from /opt/ext/node_modules | |
106 info postuninstall v4l2camera@0.4.3 | |
107 silly gentlyRm /opt/ext/node_modules/v4l2camera is being purged from base /opt/ext | |
108 verbose gentlyRm don't care about contents; nuking /opt/ext/node_modules/v4l2camera | |
109 silly vacuum-fs purging /opt/ext/node_modules/v4l2camera | |
110 silly vacuum-fs quitting because other entries in /opt/ext/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> v4l2camera@0.4.3 install /opt/ext/node_modules/v4l2camera | |
> node-gyp rebuild | |
make: Entering directory '/opt/ext/node_modules/v4l2camera/build' | |
CC(target) Release/obj.target/v4l2camera/capture.o | |
CXX(target) Release/obj.target/v4l2camera/v4l2camera.o | |
../v4l2camera.cc:19:35: error: expected class-name before ‘{’ token | |
class Camera : node::ObjectWrap { | |
^ | |
../v4l2camera.cc:23:44: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> New(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:23:59: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> New(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:24:46: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> Start(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:24:61: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> Start(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:25:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> Stop(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:25:60: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> Stop(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:26:48: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> Capture(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:26:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> Capture(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:27:47: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> ToYUYV(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:27:62: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> ToYUYV(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:28:46: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> ToRGB(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:28:61: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> ToRGB(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:29:50: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> ConfigGet(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:29:65: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> ConfigGet(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:30:50: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> ConfigSet(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:30:65: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> ConfigSet(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:31:51: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> ControlGet(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:31:66: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> ControlGet(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:32:51: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
static v8::Handle<v8::Value> ControlSet(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:32:66: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
static v8::Handle<v8::Value> ControlSet(const v8::Arguments& args); | |
^ | |
../v4l2camera.cc:42:17: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
Watch(const v8::Arguments& args, uv_poll_cb cb); | |
^ | |
../v4l2camera.cc:42:32: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
Watch(const v8::Arguments& args, uv_poll_cb cb); | |
^ | |
../v4l2camera.cc: In function ‘v8::Handle<v8::Value> {anonymous}::throwTypeError(const char*)’: | |
../v4l2camera.cc:69:20: error: ‘New’ is not a member of ‘v8::String’ | |
auto message = v8::String::New(msg); | |
^ | |
../v4l2camera.cc:70:12: error: ‘ThrowException’ is not a member of ‘v8’ | |
return v8::ThrowException(v8::Exception::TypeError(message)); | |
^ | |
../v4l2camera.cc: In function ‘v8::Handle<v8::Value> {anonymous}::throwError(const char*)’: | |
../v4l2camera.cc:73:20: error: ‘New’ is not a member of ‘v8::String’ | |
auto message = v8::String::New(msg); | |
^ | |
../v4l2camera.cc:74:12: error: ‘ThrowException’ is not a member of ‘v8’ | |
return v8::ThrowException(v8::Exception::Error(message)); | |
^ | |
../v4l2camera.cc: In function ‘v8::Local<v8::Value> {anonymous}::getValue(const v8::Local<v8::Object>&, const char*)’: | |
../v4l2camera.cc:84:22: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
return self->Get(v8::String::NewSymbol(name)); | |
^ | |
../v4l2camera.cc: In function ‘void {anonymous}::setValue(const v8::Local<v8::Object>&, const char*, const v8::Handle<v8::Value>&)’: | |
../v4l2camera.cc:98:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
self->Set(v8::String::NewSymbol(name), value); | |
^ | |
../v4l2camera.cc: In function ‘void {anonymous}::setInt(const v8::Local<v8::Object>&, const char*, int32_t)’: | |
../v4l2camera.cc:102:48: error: no matching function for call to ‘v8::Integer::New(int32_t&)’ | |
setValue(self, name, v8::Integer::New(value)); | |
^ | |
../v4l2camera.cc:102:48: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided | |
../v4l2camera.cc: In function ‘void {anonymous}::setUint(const v8::Local<v8::Object>&, const char*, uint32_t)’: | |
../v4l2camera.cc:107:60: error: no matching function for call to ‘v8::Integer::NewFromUnsigned(uint32_t&)’ | |
setValue(self, name, v8::Integer::NewFromUnsigned(value)); | |
^ | |
../v4l2camera.cc:107:60: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2013:25: note: static v8::Local<v8::Integer> v8::Integer::NewFromUnsigned(v8::Isolate*, uint32_t) | |
static Local<Integer> NewFromUnsigned(Isolate* isolate, uint32_t value); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2013:25: note: candidate expects 2 arguments, 1 provided | |
../v4l2camera.cc: In function ‘void {anonymous}::setString(const v8::Local<v8::Object>&, const char*, const char*)’: | |
../v4l2camera.cc:112:26: error: ‘New’ is not a member of ‘v8::String’ | |
setValue(self, name, v8::String::New(value)); | |
^ | |
../v4l2camera.cc: In function ‘void {anonymous}::setBool(const v8::Local<v8::Object>&, const char*, bool)’: | |
../v4l2camera.cc:116:48: error: no matching function for call to ‘v8::Boolean::New(bool&)’ | |
setValue(self, name, v8::Boolean::New(value)); | |
^ | |
../v4l2camera.cc:116:48: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:6183:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) | |
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) { | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:6183:17: note: candidate expects 2 arguments, 1 provided | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static void {anonymous}::Camera::WatchCB(uv_poll_t*, void (*)({anonymous}::CallbackData*))’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:122:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:128:19: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Dispose’ | |
data->thisObj.Dispose(); | |
^ | |
../v4l2camera.cc:129:20: error: ‘class v8::Persistent<v8::Function>’ has no member named ‘Dispose’ | |
data->callback.Dispose(); | |
^ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:133:23: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
Camera::Watch(const v8::Arguments& args, uv_poll_cb cb) { | |
^ | |
../v4l2camera.cc:133:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
Camera::Watch(const v8::Arguments& args, uv_poll_cb cb) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::Watch(const int&, uv_poll_cb)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:134:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:136:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:139:47: error: invalid types ‘const int[int]’ for array subscript | |
v8::Persistent<v8::Function>::New(args[0].As<v8::Function>()); | |
^ | |
../v4l2camera.cc:139:64: error: expected primary-expression before ‘>’ token | |
v8::Persistent<v8::Function>::New(args[0].As<v8::Function>()); | |
^ | |
../v4l2camera.cc:139:66: error: expected primary-expression before ‘)’ token | |
v8::Persistent<v8::Function>::New(args[0].As<v8::Function>()); | |
^ | |
../v4l2camera.cc:140:25: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:140:50: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:146:26: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’ | |
return v8::Undefined(); | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:305:28: note: declared here | |
friend Handle<Primitive> Undefined(Isolate* isolate); | |
^ | |
../v4l2camera.cc: In static member function ‘static v8::Local<v8::Object> {anonymous}::Camera::Controls(camera_t*)’: | |
../v4l2camera.cc:163:53: error: no matching function for call to ‘v8::Array::New(size_t&)’ | |
auto controls = v8::Array::New(ccontrols->length); | |
^ | |
../v4l2camera.cc:163:53: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int) <near match> | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: no known conversion for argument 1 from ‘size_t {aka long unsigned int}’ to ‘v8::Isolate*’ | |
../v4l2camera.cc:166:38: error: no matching function for call to ‘v8::Object::New()’ | |
auto control = v8::Object::New(); | |
^ | |
../v4l2camera.cc:166:38: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided | |
../v4l2camera.cc:167:19: error: ‘New’ is not a member of ‘v8::String’ | |
auto name = v8::String::New(reinterpret_cast<char*>(ccontrol->name)); | |
^ | |
../v4l2camera.cc:177:36: error: no matching function for call to ‘v8::Object::New()’ | |
auto flags = v8::Object::New(); | |
^ | |
../v4l2camera.cc:177:36: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided | |
../v4l2camera.cc:187:56: error: no matching function for call to ‘v8::Array::New(size_t&)’ | |
auto menu = v8::Array::New(ccontrol->menus.length); | |
^ | |
../v4l2camera.cc:187:56: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int) <near match> | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: no known conversion for argument 1 from ‘size_t {aka long unsigned int}’ to ‘v8::Isolate*’ | |
../v4l2camera.cc:193:24: error: ‘New’ is not a member of ‘v8::String’ | |
menu->Set(j, v8::String::New(value)); | |
^ | |
../v4l2camera.cc:200:46: error: no matching function for call to ‘v8::Integer::New(int&)’ | |
menu->Set(j, v8::Integer::New(value)); | |
^ | |
../v4l2camera.cc:200:46: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided | |
../v4l2camera.cc: In function ‘v8::Local<v8::Object> {anonymous}::convertFormat(camera_format_t*)’: | |
../v4l2camera.cc:214:35: error: no matching function for call to ‘v8::Object::New()’ | |
auto format = v8::Object::New(); | |
^ | |
../v4l2camera.cc:214:35: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided | |
../v4l2camera.cc:219:37: error: no matching function for call to ‘v8::Object::New()’ | |
auto interval = v8::Object::New(); | |
^ | |
../v4l2camera.cc:219:37: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided | |
../v4l2camera.cc: In static member function ‘static v8::Local<v8::Object> {anonymous}::Camera::Formats(camera_t*)’: | |
../v4l2camera.cc:227:51: error: no matching function for call to ‘v8::Array::New(size_t&)’ | |
auto formats = v8::Array::New(cformats->length); | |
^ | |
../v4l2camera.cc:227:51: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int) <near match> | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: no known conversion for argument 1 from ‘size_t {aka long unsigned int}’ to ‘v8::Isolate*’ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:246:43: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::New(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:246:58: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::New(const v8::Arguments& args) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::New(const int&)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:247:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:248:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
if (args.Length() < 1) return throwTypeError("argument required: device"); | |
^ | |
../v4l2camera.cc:249:40: error: invalid types ‘const int[int]’ for array subscript | |
v8::String::Utf8Value device(args[0]->ToString()); | |
^ | |
../v4l2camera.cc:255:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:258:11: error: ‘class {anonymous}::Camera’ has no member named ‘Wrap’ | |
self->Wrap(thisObj); | |
^ | |
../v4l2camera.cc:259:39: error: invalid types ‘const int[int]’ for array subscript | |
setValue(thisObj, "device", args[0]); | |
^ | |
../v4l2camera.cc:262:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(thisObj); | |
^ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:265:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::Start(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:265:60: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::Start(const v8::Arguments& args) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::Start(const int&)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:266:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:267:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:268:25: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:268:50: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:272:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(thisObj); | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In lambda function: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:278:23: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:279:62: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Persistent<v8::Object>&)’ | |
auto thisObj = v8::Local<v8::Object>::New(data->thisObj); | |
^ | |
../v4l2camera.cc:279:62: note: candidates are: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5754:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Object] | |
Local<T> Local<T>::New(Isolate* isolate, Handle<T> that) { | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5754:10: note: candidate expects 2 arguments, 1 provided | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5759:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, const v8::PersistentBase<T>&) [with T = v8::Object] | |
Local<T> Local<T>::New(Isolate* isolate, const PersistentBase<T>& that) { | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5759:10: note: candidate expects 2 arguments, 1 provided | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5774:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, T*) [with T = v8::Object] | |
Local<T> Local<T>::New(Isolate* isolate, T* that) { | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5774:10: note: candidate expects 2 arguments, 1 provided | |
../v4l2camera.cc:280:21: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Function>’ | |
data->callback->Call(thisObj, 0, nullptr); | |
^ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:284:44: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::Stop(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:284:59: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::Stop(const v8::Arguments& args) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::Stop(const int&)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:285:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:286:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:287:25: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:287:50: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In lambda function: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:294:23: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:295:62: error: no matching function for call to ‘v8::Local<v8::Object>::New(v8::Persistent<v8::Object>&)’ | |
auto thisObj = v8::Local<v8::Object>::New(data->thisObj); | |
^ | |
../v4l2camera.cc:295:62: note: candidates are: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5754:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Object] | |
Local<T> Local<T>::New(Isolate* isolate, Handle<T> that) { | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5754:10: note: candidate expects 2 arguments, 1 provided | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5759:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, const v8::PersistentBase<T>&) [with T = v8::Object] | |
Local<T> Local<T>::New(Isolate* isolate, const PersistentBase<T>& that) { | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5759:10: note: candidate expects 2 arguments, 1 provided | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5774:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, T*) [with T = v8::Object] | |
Local<T> Local<T>::New(Isolate* isolate, T* that) { | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:5774:10: note: candidate expects 2 arguments, 1 provided | |
../v4l2camera.cc:296:27: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:296:52: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:299:60: error: no matching function for call to ‘v8::Boolean::New(bool&)’ | |
v8::Local<v8::Value>::New(v8::Boolean::New(captured)), | |
^ | |
../v4l2camera.cc:299:60: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:6183:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) | |
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) { | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:6183:17: note: candidate expects 2 arguments, 1 provided | |
../v4l2camera.cc:301:21: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Function>’ | |
data->callback->Call(thisObj, 1, argv); | |
^ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:305:47: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::Capture(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:305:62: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::Capture(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:309:46: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::ToYUYV(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:309:61: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::ToYUYV(const v8::Arguments& args) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::ToYUYV(const int&)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:310:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:311:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:312:25: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:312:50: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:314:36: error: no matching function for call to ‘v8::Array::New(int&)’ | |
auto ret = v8::Array::New(size); | |
^ | |
../v4l2camera.cc:314:36: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int) <near match> | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: no known conversion for argument 1 from ‘int’ to ‘v8::Isolate*’ | |
../v4l2camera.cc:318:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(ret); | |
^ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:321:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::ToRGB(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:321:60: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::ToRGB(const v8::Arguments& args) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::ToRGB(const int&)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:322:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:323:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:324:25: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:324:50: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:327:36: error: no matching function for call to ‘v8::Array::New(int&)’ | |
auto ret = v8::Array::New(size); | |
^ | |
../v4l2camera.cc:327:36: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int) <near match> | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2417:23: note: no known conversion for argument 1 from ‘int’ to ‘v8::Isolate*’ | |
../v4l2camera.cc:332:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(ret); | |
^ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:335:49: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::ConfigGet(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:335:64: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::ConfigGet(const v8::Arguments& args) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::ConfigGet(const int&)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:336:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:337:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:338:25: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:338:50: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:342:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(format); | |
^ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:345:49: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::ConfigSet(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:345:64: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::ConfigSet(const v8::Arguments& args) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::ConfigSet(const int&)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:346:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:347:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
if (args.Length() < 1) throwTypeError("argument required: config"); | |
^ | |
../v4l2camera.cc:348:25: error: invalid types ‘const int[int]’ for array subscript | |
auto format = args[0]->ToObject(); | |
^ | |
../v4l2camera.cc:360:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:361:25: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:361:50: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:365:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(thisObj); | |
^ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:368:50: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::ControlGet(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:368:65: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::ControlGet(const v8::Arguments& args) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::ControlGet(const int&)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:369:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:370:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
if (args.Length() < 1) return throwTypeError("an argument required: id"); | |
^ | |
../v4l2camera.cc:371:25: error: invalid types ‘const int[int]’ for array subscript | |
uint32_t id = args[0]->Uint32Value(); | |
^ | |
../v4l2camera.cc:372:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:373:25: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:373:50: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:377:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(v8::Integer::New(value)); | |
^ | |
../v4l2camera.cc:377:46: error: no matching function for call to ‘v8::Integer::New(int32_t&)’ | |
return scope.Close(v8::Integer::New(value)); | |
^ | |
../v4l2camera.cc:377:46: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:380:50: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> Camera::ControlSet(const v8::Arguments& args) { | |
^ | |
../v4l2camera.cc:380:65: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> Camera::ControlSet(const v8::Arguments& args) { | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> {anonymous}::Camera::ControlSet(const int&)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:381:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:382:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
if (args.Length() < 2) | |
^ | |
../v4l2camera.cc:384:25: error: invalid types ‘const int[int]’ for array subscript | |
uint32_t id = args[0]->Uint32Value(); | |
^ | |
../v4l2camera.cc:385:27: error: invalid types ‘const int[int]’ for array subscript | |
int32_t value = args[1]->Int32Value(); | |
^ | |
../v4l2camera.cc:386:25: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
auto thisObj = args.This(); | |
^ | |
../v4l2camera.cc:387:25: error: ‘node::ObjectWrap’ has not been declared | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:387:50: error: expected primary-expression before ‘>’ token | |
auto camera = node::ObjectWrap::Unwrap<Camera>(thisObj)->camera; | |
^ | |
../v4l2camera.cc:390:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(thisObj); | |
^ | |
../v4l2camera.cc: At global scope: | |
../v4l2camera.cc:397:49: error: ‘Arguments’ in namespace ‘v8’ does not name a type | |
v8::Handle<v8::Value> (*func)(const v8::Arguments& args)) { | |
^ | |
../v4l2camera.cc:397:64: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] | |
v8::Handle<v8::Value> (*func)(const v8::Arguments& args)) { | |
^ | |
../v4l2camera.cc: In function ‘void {anonymous}::setMethod(const v8::Local<v8::ObjectTemplate>&, const char*, v8::Handle<v8::Value> (*)(const int&))’: | |
../v4l2camera.cc:398:52: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (*&)(const int&))’ | |
auto funcValue = v8::FunctionTemplate::New(func)->GetFunction(); | |
^ | |
../v4l2camera.cc:398:52: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) | |
static Local<FunctionTemplate> New( | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value> (*)(const int&)’ to ‘v8::Isolate*’ | |
../v4l2camera.cc:399:16: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
proto->Set(v8::String::NewSymbol(name), funcValue); | |
^ | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h: In static member function ‘static void {anonymous}::Camera::Init(v8::Handle<v8::Object>)’: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../v4l2camera.cc:402:21: error: within this context | |
v8::HandleScope scope; | |
^ | |
../v4l2camera.cc:403:17: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
auto name = v8::String::NewSymbol("Camera"); | |
^ | |
../v4l2camera.cc:404:47: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
auto clazz = v8::FunctionTemplate::New(New); | |
^ | |
../v4l2camera.cc:404:47: note: candidate is: | |
In file included from /root/.node-gyp/0.12.6/src/node.h:61:0, | |
from ../v4l2camera.cc:2: | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) | |
static Local<FunctionTemplate> New( | |
^ | |
/root/.node-gyp/0.12.6/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ | |
v4l2camera.target.mk:98: recipe for target 'Release/obj.target/v4l2camera/v4l2camera.o' failed | |
make: *** [Release/obj.target/v4l2camera/v4l2camera.o] Error 1 | |
make: Leaving directory '/opt/ext/node_modules/v4l2camera/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/lib64/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:110:17) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12) | |
gyp ERR! System Linux 3.18.14-calculate | |
gyp ERR! command "node" "/usr/lib64/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /opt/ext/node_modules/v4l2camera | |
gyp ERR! node -v v0.12.6 | |
gyp ERR! node-gyp -v v2.0.1 | |
gyp ERR! not ok | |
npm ERR! Linux 3.18.14-calculate | |
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "v4l2camera" | |
npm ERR! node v0.12.6 | |
npm ERR! npm v2.11.2 | |
npm ERR! code ELIFECYCLE | |
npm ERR! v4l2camera@0.4.3 install: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the v4l2camera@0.4.3 install script 'node-gyp rebuild'. | |
npm ERR! This is most likely a problem with the v4l2camera package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node-gyp rebuild | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls v4l2camera | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /opt/ext/npm-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment