Skip to content

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

@Janislav

Description

@Janislav

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 :/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions