Skip to content

Install failing for node V9.11.1 on ubuntu? #12

Open

Description

@jloveric

I'm using node V9.11.1 and am using ubuntu with lapack and libblas installed using

sudo apt-get install libblas-dev liblapack-dev

I see the error below, which looks like a Nan error, probably due to changes in Nan. So at any rate, I can't yet install the tool.

../src/ffi.cc:40:54: warning: ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
static_cast(ReadOnly|DontDelete))
^
../src/ffi.cc:103:3: note: in expansion of macro ‘SET_ENUM_VALUE’
SET_ENUM_VALUE(RTLD_NODELETE);
^~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197:0,
from ../src/ffi.h:23,
from ../src/ffi.cc:3:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
NAN_DEPRECATED inline Maybe ForceSet(
^~~~~~~~
../src/ffi.cc:111:153: error: no matching function for call to ‘v8::Object::ForceSet(v8::Localv8::String, v8::Localv8::Value, v8::PropertyAttribute)’
XT").ToLocalChecked(), WrapPointer((char *)RTLD_NEXT), static_cast(ReadOnly | DontDelete));

Activity

  1. jloveric commented on Jul 30, 2018

    @jloveric
    Author

    Not sure if it would help to use n-api (looks like you are using ffi) https://www.nearform.com/blog/the-future-of-native-modules-in-node-js/ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions