lsongdev / lsongdev/node-bluetooth
Missing symbol?
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 205
- フォーク
- 56
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hey, I'm trying to make an electron app that searches for bluetooth devices as a test to see if I can get it to work, but I get this error when running my code.
dyld: lazy symbol binding failed: Symbol not found: __ZN2v811HandleScope12CreateHandleEPNS_8internal10HeapObjectEPNS1_6ObjectE
Referenced from: /Volumes/HaydenDrive/Code/Personal/Applications/Bluetooth/node_modules/node-bluetooth/build/Release/BluetoothSerialPort.node
Expected in: flat namespace
I'm not entirely sure what to do, as I've only just built the package using NPM.
I'm running macOS 10.14.03, using the v4.0 of electron.
Here's my code in the js file linked to my index.html:
const bl = require('node-bluetooth');
const device = new bl.DeviceINQ();
device
.on('finished', console.log.bind(console, 'finished'))
.on('found', function found(address, name){
let row = deviceTable.insertRow()
let devName = row.insertCell(0);
let devMAC = row.insertCell(1);
devName.innerHTML = name;
devMAC.innerHTML = address;
}).scan();
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
index.html にリンクされている JavaScript の require('node-bluetooth') エントリーポイントと、エラーで報告されているビルド済みの node_modules/node-bluetooth/build/Release/BluetoothSerialPort.node から始めてください。macOS 10.14.03 上の Electron v4 で失敗を再現し、その後、ネイティブアドオンがどのようにビルドされ、ロードされるかを調査してください。アプリがパッケージを require でき、missing-symbol エラーなしで Bluetooth スキャンを完了できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, electron, node.js
- 領域
- desktop, embedded-iot
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100