Missing symbol?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- cpp, electron, node.js
- 領域
- desktop, embedded-iot
調査の方向性
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 の本文から書いたものです。
説明
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();
- 主要言語
- C++
- スター
- 205
- フォーク
- 56
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lsongdev/node-bluetooth のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
lsongdev/node-bluetooth#61 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
lsongdev/node-bluetooth#60 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
lsongdev/node-bluetooth#57 · コメント 1 件 · リアクション 2 件 ·
-
Maintenance status? オープン
難易度 1/5 1時間未満 初心者へのやさしさ 10/100
lsongdev/node-bluetooth#55 · コメント 8 件 ·
-
Battery status? オープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
lsongdev/node-bluetooth#54 · コメント 1 件 ·
lsongdev/node-bluetooth の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ros2/message_filters#338 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
subsurface/subsurface#4984 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google-ai-edge/LiteRT-LM#3739 ·