Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install fails for node 4.1.0 because of using unsported header files #57

Open
Janislav opened this issue Nov 28, 2015 · 1 comment
Open

Comments

@Janislav
Copy link

Problem

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.

The reason is that your not allowed to include node internal headers in your code. See issue nodejs/node-gyp#782.

This will not work for any newer nodejs version, at least on mac os :/.

@Syzgyn
Copy link

Syzgyn commented Dec 11, 2015

I was able to get it to build by cloning the repo into my node_modules folder, then npm install . from inside of it.

Now if I could get it to do anything besides send static to my speakers, that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants