| View previous topic :: View next topic |
| Author |
Message |
ZeeG
Joined: 06 Dec 2007 Posts: 2
Digg It |
Posted: Thu Dec 06, 2007 1:29 am Post subject: WiiRemoteJ+avetanaBT on ubuntu shows error |
|
|
I've been working on making a program with WiiRemoteJ+avetanaBT on Mac OS X and had no problem so far.
However, I deployed the software on Ubuntu 7.10, and I keep getting following error message, which I didn't see when I was working on Mac.
| Quote: | avetanaBluetooth version 1.3.18a
Dec 5, 2007 8:21:53 PM wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FINE: Nintendo RVL-CNT-01...
Dec 5, 2007 8:21:53 PM wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FINE: is a WiiRemote!
Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: de.avetana.bluetooth.stack.BlueZ.cancelInquiry()V
at de.avetana.bluetooth.stack.BlueZ.cancelInquiry(Native Method)
at javax.bluetooth.DiscoveryAgent.cancelInquiry(DiscoveryAgent.java:265)
at wiiremotej.WiiRemoteDiscoverer.deviceDiscovered(WiiRemoteDiscoverer.java:68 )
at javax.bluetooth.DiscoveryAgent.deviceDiscovered(DiscoveryAgent.java:284)
at de.avetana.bluetooth.stack.BlueZ.hciInquiry(Native Method)
at javax.bluetooth.DiscoveryAgent$1.run(DiscoveryAgent.java:208)
at edu.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:619)
|
I have no idea how to fix this... Does anyone know what should I do?
Thanks. |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 469
Digg It |
Posted: Thu Dec 06, 2007 7:42 am Post subject: |
|
|
Try the LINUX NOTE here _________________ Cha0s |
|
| Back to top |
|
 |
Chewie
Joined: 04 Mar 2008 Posts: 2
Digg It |
Posted: Tue Mar 04, 2008 1:04 am Post subject: |
|
|
I have tried adding that code to the Bluez.cpp, and I am still receiving the same error. Nothing has changed. Is there a special place in Bluez.cpp to place the function? Is the file Bluez.cpp located in /c directory of the zipped folder? Why are the two lines commented out of the function?
I am using Ubuntu 8.10 (Gutsy) with the other patch found in the Tips topic. I have BlueZ and Avetanabt version 20070719. If you need some more information to help me, I'd be happy to supply it. Thanks! |
|
| Back to top |
|
 |
Chewie
Joined: 04 Mar 2008 Posts: 2
Digg It |
Posted: Tue Mar 04, 2008 2:45 am Post subject: |
|
|
| Ah, I found the error. I had made the change and then did ./install. The problem was that my CLASSPATH was not set correctly or something, so javac was taking the avetanaBT.jar file that I had placed in the /ext/lib directory way back when I originally started to make it this work. I simply replaced that file and it works! Sweeeet. |
|
| Back to top |
|
 |
|