我正在尝试在运行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(基于Ubuntu的)的x64位Linux计算机上使用BlueCove库运行代码。我已经在线搜索了几个解决方案,但没有找到解决我的问题的方法。我已经使用此方法重新编译了bluecove-gpl-2.1.0库,以便在ARM上使用。
http://www.raspberrypi.org/forums/viewtopic.php?f=81&t=58758
我已经尝试通过终端和NetBeans IDE编译/运行代码。是否还有其他步骤需要进行才能使其正常工作?为什么即使我已经为ARM重新编译了Bluecove库,它仍然会说找不到该库?