Skip to content

Issues installing #11

@saebekassebil

Description

@saebekassebil

Hello @2bbb !

This is a super exciting project and I'd really like to use it in my setup, but I'm having troubles building the module after installing it (with npm)

I get the following errors:

In file included from ../src/nbind.cc:1:
In file included from ../src/./node-abletonlink.hpp:13:
In file included from ../../nbind/include/nbind/nbind.h:8:
In file included from ../../nbind/include/nbind/noconflict.h:8:
In file included from ../../nbind/include/nbind/BindDefiner.h:11:
In file included from ../../nbind/include/nbind/api.h:72:
../../nbind/include/nbind/v8/BindingType.h:193:1: error: too few arguments to function call, single argument 'context' was not
      specified

In file included from ../src/nbind.cc:1:
In file included from ../src/./node-abletonlink.hpp:13:
In file included from ../../nbind/include/nbind/nbind.h:8:
In file included from ../../nbind/include/nbind/noconflict.h:8:
In file included from ../../nbind/include/nbind/BindDefiner.h:11:
In file included from ../../nbind/include/nbind/api.h:71:
../../nbind/include/nbind/v8/BindWrapper.h:217:38: error: expected '(' for function-style cast or type construction
                void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
                                       ~~~~~~~~~~~~^
../../nbind/include/nbind/v8/BindWrapper.h:217:19: error: no member named 'Handle' in namespace 'v8'
                void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
                            ~~~~^
../../nbind/include/nbind/v8/BindWrapper.h:217:41: error: no member named 'Cast' in the global namespace
                void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
                                                    ~~^
../../nbind/include/nbind/v8/BindWrapper.h:217:19: error: 'handle_' is a private member of 'node::ObjectWrap'
                void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();

and many others. Have I overlooked some dependency, or is this something else? I'm building on macOS Catalina 10.15.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions