Last active
October 14, 2015 01:48
-
-
Save kjunichi/4289150 to your computer and use it in GitHub Desktop.
npm install node-webcl fail
This file contains hidden or 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
finaly I've done to install node-webcl! | |
Thnaks. | |
http://kjunichi.cocolog-nifty.com/misc/2012/12/javascriptopenc.html | |
npm http GET https://registry.npmjs.org/node-webcl | |
npm http 200 https://registry.npmjs.org/node-webcl | |
npm http GET https://registry.npmjs.org/node-webcl/-/node-webcl-0.6.2.tgz | |
npm http 200 https://registry.npmjs.org/node-webcl/-/node-webcl-0.6.2.tgz | |
npm http GET https://registry.npmjs.org/node-webgl | |
npm http 200 https://registry.npmjs.org/node-webgl | |
npm http GET https://registry.npmjs.org/node-webgl/-/node-webgl-0.1.3.tgz | |
npm http 200 https://registry.npmjs.org/node-webgl/-/node-webgl-0.1.3.tgz | |
npm http GET https://registry.npmjs.org/node-glfw | |
npm http 200 https://registry.npmjs.org/node-glfw | |
npm http GET https://registry.npmjs.org/node-glfw/-/node-glfw-0.1.2.tgz | |
npm http 200 https://registry.npmjs.org/node-glfw/-/node-glfw-0.1.2.tgz | |
> [email protected] install /Users/kjw_junichi/work/nodejs/node_modules/node-webcl/node_modules/node-webgl/node_modules/node-glfw | |
> node-gyp rebuild | |
CXX(target) Release/obj.target/glfw/src/atb.o | |
../src/atb.cc:264:16: warning: unused variable 'val' [-Wunused-variable] | |
Local<Value> val=cb->setter->Call(Context::GetCurrent()->Global(), 1, argv); | |
^ | |
../src/atb.cc:395:16: warning: unused variable 'val' [-Wunused-variable] | |
Local<Value> val=cb->setter->Call(Context::GetCurrent()->Global(), 1, argv); | |
^ | |
In file included from ../src/atb.cc:1: | |
In file included from ../src/atb.h:9: | |
../src/common.h:45:23: warning: unused function 'ThrowError' [-Wunused-function] | |
v8::Handle<v8::Value> ThrowError(const char* msg) { | |
^ | |
../src/common.h:53:23: warning: unused function 'ThrowRangeError' | |
[-Wunused-function] | |
v8::Handle<v8::Value> ThrowRangeError(const char* msg) { | |
^ | |
4 warnings generated. | |
CXX(target) Release/obj.target/glfw/src/glfw.o | |
In file included from ../src/glfw.cc:1: | |
../src/common.h:45:23: warning: unused function 'ThrowError' [-Wunused-function] | |
v8::Handle<v8::Value> ThrowError(const char* msg) { | |
^ | |
../src/common.h:49:23: warning: unused function 'ThrowTypeError' | |
[-Wunused-function] | |
v8::Handle<v8::Value> ThrowTypeError(const char* msg) { | |
^ | |
../src/common.h:53:23: warning: unused function 'ThrowRangeError' | |
[-Wunused-function] | |
v8::Handle<v8::Value> ThrowRangeError(const char* msg) { | |
^ | |
3 warnings generated. | |
SOLINK_MODULE(target) Release/glfw.node | |
ld: library not found for -lAntTweakBar | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make: *** [Release/glfw.node] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/Users/kjw_junichi/.nvm/v0.8.15/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:236:23) | |
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17) | |
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10) | |
gyp ERR! System Darwin 12.2.1 | |
gyp ERR! command "node" "/Users/kjw_junichi/.nvm/v0.8.15/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /Users/kjw_junichi/work/nodejs/node_modules/node-webcl/node_modules/node-webgl/node_modules/node-glfw | |
gyp ERR! node -v v0.8.15 | |
gyp ERR! node-gyp -v v0.7.1 | |
gyp ERR! not ok | |
npm ERR! [email protected] install: `node-gyp rebuild` | |
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] install script. | |
npm ERR! This is most likely a problem with the node-glfw 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 node-glfw | |
npm ERR! There is likely additional logging output above. | |
npm ERR! System Darwin 12.2.1 | |
npm ERR! command "/Users/kjw_junichi/.nvm/v0.8.15/bin/node" "/Users/kjw_junichi/.nvm/v0.8.15/bin/npm" "install" "node-webcl" | |
npm ERR! cwd /Users/kjw_junichi/work/nodejs/opencl | |
npm ERR! node -v v0.8.15 | |
npm ERR! npm -v 1.1.66 | |
npm ERR! code ELIFECYCLE | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /Users/kjw_junichi/work/nodejs/opencl/npm-debug.log | |
npm ERR! not ok code 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment