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" <[EMAIL PROTECTED]>
To: "Erwan Lerale" <[EMAIL PROTECTED]>
Cc: <[email protected]>
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



[EMAIL PROTECTED] ~/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



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Attachment: wiimote.pd_linux
Description: Binary data

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to