[PD] wiiremote b4

Stefano Papetti papetti at sci.univr.it
Mon Jan 15 12:18:30 CET 2007


Hi Hans,

I already did that but I get this output:

cc     wiiremote.c   -o wiiremote
wiiremote.c: In function 'wiiremote_search':
wiiremote.c:101: warning: 'IOBluetoothDeviceInquiryCreateWithCallbackRefCon'
is deprecated (declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2843)
wiiremote.c:101: warning: 'IOBluetoothDeviceInquiryCreateWithCallbackRefCon'
is unavailable (declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2843)
wiiremote.c:102: warning: 'IOBluetoothDeviceInquirySetDeviceFoundCallback' is
deprecated (declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2894)
wiiremote.c:102: warning: 'IOBluetoothDeviceInquirySetDeviceFoundCallback' is
unavailable (declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2894)
wiiremote.c:103: warning:
'IOBluetoothDeviceInquirySetDeviceNameUpdatedCallback' is deprecated (declared
at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2914)
wiiremote.c:103: warning:
'IOBluetoothDeviceInquirySetDeviceNameUpdatedCallback' is unavailable
(declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2914)
wiiremote.c:104: warning: 'IOBluetoothDeviceInquirySetCompleteCallback' is
deprecated (declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2924)
wiiremote.c:104: warning: 'IOBluetoothDeviceInquirySetCompleteCallback' is
unavailable (declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2924)
wiiremote.c:106: warning: 'IOBluetoothDeviceInquiryStart' is deprecated
(declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2864)
wiiremote.c:106: warning: 'IOBluetoothDeviceInquiryStart' is unavailable
(declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2864)
wiiremote.c:109: warning: 'IOBluetoothDeviceInquiryDelete' is deprecated
(declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2854)
wiiremote.c:109: warning: 'IOBluetoothDeviceInquiryDelete' is unavailable
(declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2854)
wiiremote.c: In function 'wiiremote_stopsearch':
wiiremote.c:125: warning: 'IOBluetoothDeviceInquiryStop' is deprecated
(declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2874)
wiiremote.c:125: warning: 'IOBluetoothDeviceInquiryStop' is unavailable
(declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2874)
wiiremote.c:132: warning: 'IOBluetoothDeviceInquiryDelete' is deprecated
(declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2854)
wiiremote.c:132: warning: 'IOBluetoothDeviceInquiryDelete' is unavailable
(declared at
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:2854)
/usr/bin/ld: Undefined symbols:
_main
_CFStringCompare
_IOBluetoothDeviceCloseConnection
_IOBluetoothDeviceGetName
_IOBluetoothDeviceInquiryCreateWithCallbackRefCon
_IOBluetoothDeviceInquiryDelete
_IOBluetoothDeviceInquirySetCompleteCallback
_IOBluetoothDeviceInquirySetDeviceFoundCallback
_IOBluetoothDeviceInquirySetDeviceNameUpdatedCallback
_IOBluetoothDeviceInquiryStart
_IOBluetoothDeviceInquiryStop
_IOBluetoothDeviceIsConnected
_IOBluetoothDeviceOpenConnection
_IOBluetoothDeviceOpenL2CAPChannelSync
_IOBluetoothDevicePerformSDPQuery
_IOBluetoothDeviceRegisterForDisconnectNotification
_IOBluetoothL2CAPChannelCloseChannel
_IOBluetoothL2CAPChannelWriteSync
_IOBluetoothObjectRelease
_IOBluetoothObjectRetain
_IOBluetoothUserNotificationUnregister
___CFConstantStringClassReference
collect2: ld returned 1 exit status
make: *** [wiiremote] Error 1

with my MacBook Pro (Intel) 10.4.8

Moreover the binary you provided doesn't work with pd 0.40-2 on my Intel Mac.
I get a "wrong architecture" error at creation time.

Best,
Stefano



> If you have the whole dev layout checked out, then:
>
> cd pure-data/externals
> make wiiremote
> ls -l io/wiiremote/wiiremote.pd_darwin
>
> I posted a binary on this list, check the archives.
>
> .hc
>
> On Jan 12, 2007, at 10:27 AM, Stefano Papetti wrote:
>
>> Hello Hans,
>>
>> thanks for porting it!
>>
>> I'm not able to compile the cvs version with make under MacOSX 10.4.8.
>> Could you please tell me which are the commands to get it compiled?
>>
>> Many thanks,
>> Stefano
>
>
> ------------------------------------------------------------------------
>
> Using ReBirth is like trying to play an 808 with a long stick.    -
> David Zicarelli
>
>






More information about the Pd-list mailing list