Hello,
Getting this on gentoo amd64 with gcc 4.1.1:
erwan@menhir ~/Desktop/wiimotepd $ make cc -DPD -O2 -funroll-loops -fomit-frame-pointer -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -I/usr/include -o wiimote.o -c wiimote.c wiimote.c: In function 'wiimote_doConnect': wiimote.c:369: error: incompatible type for argument 1 of 'wiimote_connect' wiimote.c:369: warning: passing argument 2 of 'wiimote_connect' from incompatible pointer type
The piece of code is here :
[...] void wiimote_doConnect(t_wiimote *x, t_symbol *addr) { unsigned char buf[7]; bdaddr_t bdaddr;
// determine address:
if (addr==gensym("NULL")) bdaddr = (bdaddr_t) *BDADDR_ANY;
else str2ba(addr->s_name, &bdaddr);
// connect:
if (g_wiimoteList[0]==NULL) {
x->wiimote = wiimote_connect(bdaddr, &wiimote_callback_0);
x->wiimoteID = 0;
g_wiimoteList[0] = x;
}
else if
[...]
Really don't know how to fix that... Anyone can help ?
Thanks a lot r1
Erwan Lerale wrote:
Hello,
Getting this on gentoo amd64 with gcc 4.1.1:
hi,
Same result with ubuntu 6.10 32 bits... Did anyone managed to compile this external ?
Cheers r1
erwan@menhir ~/Desktop/wiimotepd $ make cc -DPD -O2 -funroll-loops -fomit-frame-pointer -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -I/usr/include -o wiimote.o -c wiimote.c wiimote.c: In function 'wiimote_doConnect': wiimote.c:369: error: incompatible type for argument 1 of 'wiimote_connect' wiimote.c:369: warning: passing argument 2 of 'wiimote_connect' from incompatible pointer type
The piece of code is here :
[...] void wiimote_doConnect(t_wiimote *x, t_symbol *addr) { unsigned char buf[7]; bdaddr_t bdaddr;
// determine address: if (addr==gensym("NULL")) bdaddr = (bdaddr_t) *BDADDR_ANY; else str2ba(addr->s_name, &bdaddr); // connect: if (g_wiimoteList[0]==NULL) { x->wiimote = wiimote_connect(bdaddr, &wiimote_callback_0); x->wiimoteID = 0; g_wiimoteList[0] = x; } else if
[...]
Really don't know how to fix that... Anyone can help ?
Thanks a lot r1
attached is the wiimote compiled with 32 bits intel on ubuntu dapper downloaded from the author's site (http://mikewoz.com/index.php?page=pd-stuff)
could we include wiimote on pd extended? but this external depends on the CWiid library...
pat
----- Original Message ----- From: "Erwan Lerale" erwan@thiscow.fr To: "Erwan Lerale" erwan@thiscow.fr Cc: pd-list@iem.at Sent: Monday, May 07, 2007 1:39 PM Subject: Re: [PD] Problem compiling wiimote external
Erwan Lerale wrote:
Hello,
Getting this on gentoo amd64 with gcc 4.1.1:
hi,
Same result with ubuntu 6.10 32 bits... Did anyone managed to compile this external ?
Cheers r1
erwan@menhir ~/Desktop/wiimotepd $ make cc -DPD -O2 -funroll-loops -fomit-frame-pointer -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -I/usr/include -o wiimote.o -c wiimote.c wiimote.c: In function 'wiimote_doConnect': wiimote.c:369: error: incompatible type for argument 1 of 'wiimote_connect' wiimote.c:369: warning: passing argument 2 of 'wiimote_connect' from incompatible pointer type
The piece of code is here :
[...] void wiimote_doConnect(t_wiimote *x, t_symbol *addr) { unsigned char buf[7]; bdaddr_t bdaddr;
// determine address: if (addr==gensym("NULL")) bdaddr = (bdaddr_t) *BDADDR_ANY; else str2ba(addr->s_name, &bdaddr); // connect: if (g_wiimoteList[0]==NULL) { x->wiimote = wiimote_connect(bdaddr, &wiimote_callback_0); x->wiimoteID = 0; g_wiimoteList[0] = x; } else if
[...]
Really don't know how to fix that... Anyone can help ?
Thanks a lot r1
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
It's just a matter of someone doing the work to get it building.
Unless CWiid is in Debian, this could be a fair amount of work. I'll
happily answer questions, etc. to help get it going.
.hc
On May 7, 2007, at 8:58 PM, patrick wrote:
attached is the wiimote compiled with 32 bits intel on ubuntu
dapper downloaded from the author's site (http://mikewoz.com/ index.php?page=pd-stuff)could we include wiimote on pd extended? but this external depends on the CWiid library...
pat
----- Original Message ----- From: "Erwan Lerale" erwan@thiscow.fr To: "Erwan Lerale" erwan@thiscow.fr Cc: pd-list@iem.at Sent: Monday, May 07, 2007 1:39 PM Subject: Re: [PD] Problem compiling wiimote external
Erwan Lerale wrote:
Hello,
Getting this on gentoo amd64 with gcc 4.1.1:
hi,
Same result with ubuntu 6.10 32 bits... Did anyone managed to compile this external ?
Cheers r1
erwan@menhir ~/Desktop/wiimotepd $ make cc -DPD -O2 -funroll-loops -fomit-frame-pointer -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -I/usr/include -o wiimote.o -c wiimote.c wiimote.c: In function 'wiimote_doConnect': wiimote.c:369: error: incompatible type for argument 1 of 'wiimote_connect' wiimote.c:369: warning: passing argument 2 of 'wiimote_connect' from incompatible pointer type
The piece of code is here :
[...] void wiimote_doConnect(t_wiimote *x, t_symbol *addr) { unsigned char buf[7]; bdaddr_t bdaddr;
// determine address: if (addr==gensym("NULL")) bdaddr = (bdaddr_t) *BDADDR_ANY; else str2ba(addr->s_name, &bdaddr); // connect: if (g_wiimoteList[0]==NULL) { x->wiimote = wiimote_connect(bdaddr,
&wiimote_callback_0); x->wiimoteID = 0; g_wiimoteList[0] = x; } else if [...]
Really don't know how to fix that... Anyone can help ?
Thanks a lot r1
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list <wiimote.pd_linux>
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
On Tue, May 08, 2007 at 09:12:15PM -0400, Hans-Christoph Steiner wrote:
It's just a matter of someone doing the work to get it building.
Unless CWiid is in Debian, this could be a fair amount of work. I'll
happily answer questions, etc. to help get it going.
CWiid is in Debian.
libwiimote0 - library to interface with the wiimote libwiimote0-dev - library to interface with the wiimote -- development transfermii - transfer your mii from and to your wiimotes wmgui - GUI interface to the wiimote wminput - Userspace driver for the wiimote cwiid - CWii library for interfacing with the Wii
I don't think it's that mature. I had some problems compiling examples.
Chris.
On Wed, 2007-05-09 at 00:38 -0400, Chris McCormick wrote:
On Tue, May 08, 2007 at 09:12:15PM -0400, Hans-Christoph Steiner wrote:
It's just a matter of someone doing the work to get it building.
Unless CWiid is in Debian, this could be a fair amount of work. I'll
happily answer questions, etc. to help get it going.CWiid is in Debian.
afaik, it is only in debian unstable
roman
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de