You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npm install
> [email protected] install /home/pi/web/node_modules/ftdi
> node-gyp rebuild
make: Entering directory '/home/pi/web/node_modules/ftdi/build'
CXX(target) Release/obj.target/ftdi/src/ftdi_device.o
../src/ftdi_device.cc: In member function 'virtual void ReadWorker::HandleOKCallback()':
../src/ftdi_device.cc:190:85: warning: 'v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
Local<Object> actualBuffer = bufferConstructor->NewInstance(3, constructorArgs);
^
In file included from /home/pi/.cache/node-gyp/8.11.1/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/8.11.1/include/node/node.h:63,
from /home/pi/.cache/node-gyp/8.11.1/include/node/node_buffer.h:25,
from ../src/ftdi_device.cc:8:
/home/pi/.cache/node-gyp/8.11.1/include/node/v8.h:3847:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/pi/.cache/node-gyp/8.11.1/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/ftdi_device.cc:202:29: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations]
callback->Call(2, argv);
^
In file included from ../src/ftdi_device.h:9:0,
from ../src/ftdi_device.cc:11:
../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/ftdi_device.cc: In member function 'virtual void OpenWorker::HandleOKCallback()':
../src/ftdi_device.cc:341:29: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations]
callback->Call(1, argv);
^
In file included from ../src/ftdi_device.h:9:0,
from ../src/ftdi_device.cc:11:
../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/ftdi_device.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE ftdi_device::FtdiDevice::Open(Nan::NAN_METHOD_ARGS_TYPE)':
../src/ftdi_device.cc:395:27: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations]
callback->Call(1, argv);
^
In file included from ../src/ftdi_device.h:9:0,
from ../src/ftdi_device.cc:11:
../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/ftdi_device.cc: In member function 'virtual void WriteWorker::HandleOKCallback()':
../src/ftdi_device.cc:549:29: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations]
callback->Call(1, argv);
^
In file included from ../src/ftdi_device.h:9:0,
from ../src/ftdi_device.cc:11:
../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/ftdi_device.cc: In member function 'virtual void CloseWorker::HandleOKCallback()':
../src/ftdi_device.cc:648:29: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations]
callback->Call(1, argv);
^
In file included from ../src/ftdi_device.h:9:0,
from ../src/ftdi_device.cc:11:
../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/ftdi_device.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE ftdi_device::FtdiDevice::Close(Nan::NAN_METHOD_ARGS_TYPE)':
../src/ftdi_device.cc:678:29: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations]
callback->Call(1, argv);
^
In file included from ../src/ftdi_device.h:9:0,
from ../src/ftdi_device.cc:11:
../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/ftdi_device.cc: In member function 'void ftdi_device::FtdiDevice::ExtractDeviceSettings(v8::Local<v8::Object>)':
../src/ftdi_device.cc:770:61: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
deviceParams.baudRate = options->Get(baudrate)->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/8.11.1/include/node/node.h:63:0,
from /home/pi/.cache/node-gyp/8.11.1/include/node/node_buffer.h:25,
from ../src/ftdi_device.cc:8:
/home/pi/.cache/node-gyp/8.11.1/include/node/v8.h:9796:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/ftdi_device.cc:774:77: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
deviceParams.wordLength = GetWordLength(options->Get(databits)->ToInt32()->Int32Value());
^
In file included from /home/pi/.cache/node-gyp/8.11.1/include/node/node.h:63:0,
from /home/pi/.cache/node-gyp/8.11.1/include/node/node_buffer.h:25,
from ../src/ftdi_device.cc:8:
/home/pi/.cache/node-gyp/8.11.1/include/node/v8.h:9796:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/ftdi_device.cc:778:73: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
deviceParams.stopBits = GetStopBits(options->Get(stopbits)->ToInt32()->Int32Value());
^
In file included from /home/pi/.cache/node-gyp/8.11.1/include/node/node.h:63:0,
from /home/pi/.cache/node-gyp/8.11.1/include/node/node_buffer.h:25,
from ../src/ftdi_device.cc:8:
/home/pi/.cache/node-gyp/8.11.1/include/node/v8.h:9796:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/ftdi_device.cc:793:61: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
deviceParams.bitMode = options->Get(bitmode)->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/8.11.1/include/node/node.h:63:0,
from /home/pi/.cache/node-gyp/8.11.1/include/node/node_buffer.h:25,
from ../src/ftdi_device.cc:8:
/home/pi/.cache/node-gyp/8.11.1/include/node/v8.h:9796:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/ftdi_device.cc:801:61: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
deviceParams.bitMask = options->Get(bitmask)->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/8.11.1/include/node/node.h:63:0,
from /home/pi/.cache/node-gyp/8.11.1/include/node/node_buffer.h:25,
from ../src/ftdi_device.cc:8:
/home/pi/.cache/node-gyp/8.11.1/include/node/v8.h:9796:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
CXX(target) Release/obj.target/ftdi/src/ftdi_driver.o
../src/ftdi_driver.cc: In member function 'virtual void FindAllWorker::HandleOKCallback()':
../src/ftdi_driver.cc:187:27: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations]
callback->Call(2, argv);
^
In file included from ../src/ftdi_driver.h:8:0,
from ../src/ftdi_driver.cc:6:
../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
SOLINK_MODULE(target) Release/obj.target/ftdi.node
//usr/local/lib/libftd2xx.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
ftdi.target.mk:135: recipe for target 'Release/obj.target/ftdi.node' failed
make: *** [Release/obj.target/ftdi.node] Error 1
make: Leaving directory '/home/pi/web/node_modules/ftdi/build'
Not sure what goes wrong here. Seems soort of the same thing as my previous #36 ticket.
The text was updated successfully, but these errors were encountered:
Also tried to install the library on a Raspberry PI 3, with no success. Not sure what build and so-ever. Just a default shipped PI.
Got node V8:
NPM?
Used
install.sh
script to get everything in place (did already run this once):Then tried to run
npm install
:Not sure what goes wrong here. Seems soort of the same thing as my previous #36 ticket.
The text was updated successfully, but these errors were encountered: