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 failing for node V9.11.1 on ubuntu? #12

Open
jloveric opened this issue Jul 29, 2018 · 1 comment
Open

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

jloveric opened this issue Jul 29, 2018 · 1 comment

Comments

@jloveric
Copy link

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));

@jloveric
Copy link
Author

jloveric commented Jul 30, 2018

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant