[PD] Problem compiling wiimote external

Hans-Christoph Steiner hans at eds.org
Wed May 9 03:12:15 CEST 2007


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 at thiscow.fr>
> To: "Erwan Lerale" <erwan at thiscow.fr>
> Cc: <pd-list at 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 at 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 at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>> <wiimote.pd_linux>
> _______________________________________________
> PD-list at 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






More information about the Pd-list mailing list