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

FreeBSD is not supported yet #438

Open
cusspvz opened this issue Jul 15, 2019 · 1 comment
Open

FreeBSD is not supported yet #438

cusspvz opened this issue Jul 15, 2019 · 1 comment

Comments

@cusspvz
Copy link

cusspvz commented Jul 15, 2019

Although the readme states it supports FreeBSD, that's not entirely true, because node-bluetooth-hci-socket's FreeBSD support is not released yet (noble/node-bluetooth-hci-socket@04553d6). Last release was https://github.com/noble/node-bluetooth-hci-socket/releases/tag/0.5.2 which does not include that commit.

I'm currently installing the master branch of node-bluetooth-hci-socket and still not sure if it works, I just figured that out and wanted to capture that into an issue.

@cusspvz
Copy link
Author

cusspvz commented Jul 16, 2019

The master branch of the node-bluetooth-hci-socket is not compatible with the FreeBSD 12.0

../src/BluetoothHciSocket.cpp:276:42: error: no matching member function for call to 'NewInstance'
../../nan/nan.h:1045:3: note: 'MakeCallback' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
  ^
  Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

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