xk/node-sound — Issue #2: Did not build default/sound
Author: NHQ
Created: 2011-12-14 06:58:51+00:00
State: open

Hello, I tried your module on node 0.4.12 on Mac OSX 10.6.7.

NHQ:xk-node-sound elenagragasin$ node-waf configure build clean
Setting srcdir to : /Users/elenagragasin/webdev/xk-node-sound
Setting blddir to : /Users/elenagragasin/webdev/xk-node-sound/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
'configure' finished successfully (1.177s)
Waf: Entering directory `/Users/elenagragasin/webdev/xk-node-sound/build'
[1/2] cxx: sound.cc -> build/default/sound_1.o
[2/2] cxx_link: build/default/sound_1.o -> build/default/sound.node
Waf: Leaving directory `/Users/elenagragasin/webdev/xk-node-sound/build'
'build' finished successfully (7.270s)
'clean' finished successfully (0.005s)

In fact it did not build default/sound.node or any other file there.

Error: Cannot find module './build/default/sound.node'
at Function._resolveFilename (module.js:326:11)
at Function._load (module.js:271:25)
at require (module.js:355:19)
at Object. (/Users/elenagragasin/webdev/xk-node-sound/test-sinewave.js:46:12)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at Array. (module.js:430:10)
at EventEmitter._tickCallback (node.js:126:26)
NHQ:xk-node-sound elenagragasin$