Also, here's a patch that pix and I did at AVLAB/Medialab Prado last
Sept. It fixes some bugs in the original. This code was used to get
data from 5 wiimotes at once.
Also, I want to make a quick wii demo, did that Pd wii code that you did for AVLAB ever get posted anywhere? I'd like to use that.
i've attached a patch against
http://mikewoz.com/downloads/wiimote_0.6.00.tar.gz
you will need to play with the makefile, it wasn't made in the most
cross-platform way...
pix.
.hc
On Jul 22, 2009, at 5:36 PM, Damien Henry wrote:
Thanks IOhannes.
It's finally ok. here the steps :
- recompile cwiid
- then add #include "cwiid_internal.h" in the wiimote.c (that was my
mistake there)
- copy the file from cwiid src to the same dir
- copy the libcwiid.a from cwiid to /usr/lib
- compile wiimote
Damien.
IOhannes m zmölnig a écrit :
Damien Henry wrote:
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 createIf I've rename the libbluetooth.so to libbluetooth.so.2 and get the
i would have suggested making a symbolic link from libbluethooth.so. 2 to libbluetooth.so (probably something might rely on
libbluetooth.sh, and i usually try not to break to many things)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)hmm, i guess it would be better to change the name in wiimote
rather than libcwiibut 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
incompleti still don't understand why you get this...but: i seem to use the sources of libcwiid for inclusion (hardcoded
paths in the externals) rather than the installed sources (from the
debian package).can't really help you though...
mfgas IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I spent 33 years and four months in active military service and during
that period I spent most of my time as a high class muscle man for Big
Business, for Wall Street and the bankers. - General Smedley Butler