I tried to install node-core-audio under node js 4.1.0 on mac os, while compiling i get following error:
CXX(target) Release/obj.target/NodeCoreAudio/NodeCoreAudio/AudioEngine.o
In file included from ../NodeCoreAudio/AudioEngine.cpp:9:
In file included from /Users/jboerner/develop/private_projects/node_sampler/static/node_modules/node-core-audio/NodeCoreAudio/AudioEngine.h:11:
/Users/jboerner/.node-gyp/4.1.0/include/node/node_internals.h:6:10: fatal error: 'util-inl.h' file not found
#include "util-inl.h"
^
1 error generated.
Problem
I tried to install node-core-audio under node js 4.1.0 on mac os, while compiling i get following error:
The reason is that your not allowed to include node internal headers in your code. See issue https://github.com/nodejs/node-gyp/issues/782.
This will not work for any newer nodejs version, at least on mac os :/.