by using the compiled version of wiimote.pd_linux I've the following :
/home/dh/Bureau/A/wiimote.pd_linux: libbluetooth.so.2: cannot open
shared object file: No such file or directory
wiimote
... couldn't create
If I've rename the libbluetooth.so to libbluetooth.so.2 and get the
folowing :
/home/dh/Bureau/A/wiimote.pd_linux: /home/dh/Bureau/A/wiimote.pd_linux:
undefined symbol: hci_remote_name
wiimote
... couldn't create
So I've recompile the libcwii 6.0.0 (you must edit the code and change
hci_remote_name to hci_read_remote_name that is deprecated)
but
wiimote.c is still not compilling :
make
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -W -Wshadow
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
-I/usr/local/include -o wiimote.o -c wiimote.c
wiimote.c: In function 'cwiid_callback':
wiimote.c:238: erreur: déréférencement d'un pointeur de type incomplet
wiimote.c:239: erreur: déréférencement d'un pointeur de type incomplet
wiimote.c:242: erreur: déréférencement d'un pointeur de type incomplet
wiimote.c: In function 'cwiid_doConnect':
wiimote.c:404: erreur: déréférencement d'un pointeur de type incomplet
wiimote.c:414: erreur: déréférencement d'un pointeur de type incomplet
BR
Damien.
Damien Henry a écrit :
Hello,
Thanks for the external link : http://mikewoz.com/pd-stuff.php
But I met a compilation problem :
make
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -W -Wshadow
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
-I/home/dh/pd/pd-0.40-0/src -o wiimote.o -c wiimote.c
wiimote.c: In function 'cwiid_callback':
wiimote.c:238: erreur: déréférencement d'un pointeur de type incomplet
wiimote.c:239: erreur: déréférencement d'un pointeur de type incomplet
wiimote.c:242: erreur: déréférencement d'un pointeur de type incomplet
wiimote.c: In function 'cwiid_doConnect':
wiimote.c:404: erreur: déréférencement d'un pointeur de type incomplet
wiimote.c:414: erreur: déréférencement d'un pointeur de type incomplet
make: *** [wiimote.pd_linux] Erreur 1
I've install the libcwiid1-dev package that is cwiid version 0.6.00
for ubuntu
I also change the path of the lib to /usr/lib that is the correct
installation for both the .h and the .a files from the lib. (mention
in the Reame)
I change the makefile to have the path to pd.h (mention in the makefile)
Any clue someone ?
BR
Damien.
F. Medeiros a écrit :
Hello,
Get the wiimote external
http://mikewoz.com/pd-stuff.php
On Wed, 2009-07-22 at 00:10 +0200, Damien Henry wrote:
Hello !
What is the easiest way to connect a wiimote to pb on ubuntu ?
Thanks in advance.
Damien.
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
------------------------------------------------------------------------
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list