我正在尝试编译/运行在运行Ubuntu的BeagleBone Black上使用BlueCove库的程序.但是,我在运行时不断收到此错误:
Native Library bluecove_arm not available
javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available
at com.intel.bluetooth.BlueCoveImpl.loadNativeLibraries(BlueCoveImpl.java:381)
at com.intel.bluetooth.BlueCoveImpl.detectStack(BlueCoveImpl.java:429)
at com.intel.bluetooth.BlueCoveImpl.access$500(BlueCoveImpl.java:65)
at com.intel.bluetooth.BlueCoveImpl$1.run(BlueCoveImpl.java:1020)
at java.security.AccessController.doPrivileged(Native Method)
at com.intel.bluetooth.BlueCoveImpl.detectStackPrivileged(BlueCoveImpl.java:1018)
at com.intel.bluetooth.BlueCoveImpl.getBluetoothStack(BlueCoveImpl.java:1011)
at javax.bluetooth.LocalDevice.getLocalDeviceInstance(LocalDevice.java:75)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:95)
at edit.rit.ce.whud.DataServer.bluetoothHandler(DataServer.java:16)
at edit.rit.ce.whud.GUI.main(GUI.java:153)
我知道这不是代码的问题,因为我可以在运行Mint的x64位Linux计算机上运行带有BlueCove库的代码(基于Ubuntu).我在网上搜索了几个解决方案,找不到解决我问题的解决方案.
我已经使用这种方法为ARM重新编译了bluecove-gpl-2.1.0库
并尝试通过终端和NetBeans IDE编译/运行代码.
我需要做一些其他步骤来完成这项工作吗?为什么即使在我为ARM重新编译它之后仍然无法使用Bluecove库?