mac osx 10.8 build error
Closed this issue · 0 comments
CXX(target) Release/obj.target/cuda/src/ctx.o
../src/ctx.cpp: In static member function ‘static v8::Handlev8::Value NodeCuda::Ctx::Synchronize(const v8::Arguments&)’:
../src/ctx.cpp:111: error: invalid conversion from ‘void ()(uv_work_t)’ to ‘void ()(uv_work_t, int)’
../src/ctx.cpp:111: error: initializing argument 4 of ‘int uv_queue_work(uv_loop_t_, uv_work_t_, void ()(uv_work_t), void ()(uv_work_t, int))’
../src/ctx.cpp: In static member function ‘static v8::Handlev8::Value NodeCuda::Ctx::GetApiVersion(v8::Localv8::String, const v8::AccessorInfo&)’:
../src/ctx.cpp:164: warning: unused variable ‘error’
../src/bindings.hpp: At global scope:
../src/bindings.hpp:12: warning: ‘v8::Handlev8::Value NodeCuda::GetDriverVersion(v8::Localv8::String, const v8::AccessorInfo&)’ declared ‘static’ but never defined
../src/bindings.hpp:13: warning: ‘v8::Handlev8::Value NodeCuda::GetDeviceCount(v8::Localv8::String, const v8::AccessorInfo&)’ declared ‘static’ but never defined
make: *** [Release/obj.target/cuda/src/ctx.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 12.3.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "build"
gyp ERR! cwd /Users/pergriffiths/node_modules/node-cuda
gyp ERR! node -v v0.10.6
gyp ERR! node-gyp -v v0.9.6
gyp ERR! not ok