indutny / indutny/vock

build error

Open
#3 19 comments 0 reactions 1 assignee Claimed by @indutny View on GitHub
Dominant language
C++
Stars
182
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm looking forward to playing with this project. I tried installing, and got the following compile error:

> vock@0.3.5 install /Users/phillyqueso/projects/vock
> node-gyp rebuild

CC(target) Release/obj.target/opus/deps/opus/opus/src/opus.o
CC(target) Release/obj.target/opus/deps/opus/opus/src/opus_compare.o
CC(target) Release/obj.target/opus/deps/opus/opus/src/opus_decoder.o
In file included from ../deps/opus/opus/src/opus_decoder.c:43:
../deps/opus/opus/celt/float_cast.h:123:10: warning: "Don't have the functions lrint() and lrintf ()." [-W#warnings]
#warning "Don't have the functions lrint() and lrintf ()."
^
../deps/opus/opus/celt/float_cast.h:124:10: warning: "Replacing these functions with a standard C cast." [-W#warnings]
#warning "Replacing these functions with a standard C cast."
^
../deps/opus/opus/src/opus_decoder.c:463:25: error: incomplete definition of type 'struct OpusCustomMode'
window = celt_mode->window;
~~~~~~~~~^
../deps/opus/opus/include/opus_custom.h:110:16: note: forward declaration of 'struct OpusCustomMode'
typedef struct OpusCustomMode OpusCustomMode;
^
2 warnings and 1 error generated.
make: **\* [Release/obj.target/opus/deps/opus/opus/src/opus_decoder.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System Darwin 12.1.0
gyp ERR! command "node" "/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/phillyqueso/projects/vock
gyp ERR! node -v v0.8.8
gyp ERR! node-gyp -v v0.6.7
gyp ERR! not ok
npm ERR! vock@0.3.5 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the vock@0.3.5 install script.
npm ERR! This is most likely a problem with the vock 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 vock
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 12.1.0
npm ERR! command "node" "/opt/local/bin/npm" "install" "."
npm ERR! cwd /Users/phillyqueso/projects/vock
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/phillyqueso/projects/vock/npm-debug.log
npm ERR! not ok code 0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.