WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WiiRemoteJ+avetanaBT on ubuntu shows error

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
ZeeG



Joined: 06 Dec 2007
Posts: 2

Digg It
PostPosted: 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
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 469

Digg It
PostPosted: Thu Dec 06, 2007 7:42 am    Post subject:

Try the LINUX NOTE here
_________________
Cha0s
Back to top
View user's profile Send private message
Chewie



Joined: 04 Mar 2008
Posts: 2

Digg It
PostPosted: 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
View user's profile Send private message
Chewie



Joined: 04 Mar 2008
Posts: 2

Digg It
PostPosted: 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group