<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:garamond,new york,times,serif;font-size:12pt"><div>Hi,<br><br>I am trying to get the aka.wiiremote working on osx. I downloaded the files from svn (aka.wiiremote-2008-07-22) at <br>http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/io/aka.wiiremote/<br>I tested the binary akawiiremote.pd_darwin (don't know at the moment where I got it from) and I could connect, but could not get motion sensor data. buttons were recognized.<br>So I wanted to try compiling myself:<br>There is a makefile in the svn for aka.wiiremote, but for me it makes no real sense (or maybe i don't understand it).<br>in the folder (svn) there are the following files:<br><br>aka.wiiremote.c<br>wiiremote.c<br>wiiremote.h<br>Makefile<br><br>I tried with "make", but i get:<br><br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">make -C
 /Users/Floriano/aka.wiiremote-original-2008-07-22- aka.wiiremote-original-2008-07-22-</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">make[1]: *** No rule to make target `aka.wiiremote-original-2008-07-22-'.&nbsp; Stop.</span><br><br>I checked the makefile, there is no rule for making the target, there is just another "make" command in the makefile. Does this make sense ? Doesn't this create an endless loop of calling the makefile ?<br><br>Next step I tried compiling with an own makefile:<br><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">akawiiremote.pd_darwin: aka.wiiremote.c wiiremote.c wiiremote.h</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp; gcc -o akawiiremote.pd_darwin aka.wiiremote.c wiiremote.c wiiremote.h</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: garamond,new york,times,serif;">This time I get:</span><br><br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Undefined symbols:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; "_clock_delay", referenced from:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _akawiiremote_connect in ccsYhgCS.o</span><br style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _akawiiremote_clock in ccsYhgCS.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; "_clock_free", referenced from:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _akawiiremote_free in ccsYhgCS.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; "_CFRelease", referenced from:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _wiiremote_search in cc6UUndW.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _myDisconnectedFunc in cc6UUndW.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _myDisconnectedFunc in cc6UUndW.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _wiiremote_getaddress in cc6UUndW.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp; "_IOBluetoothDeviceInquiryDelete",
 referenced from:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _wiiremote_search in cc6UUndW.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _wiiremote_stopsearch in cc6UUndW.o</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">(...)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">ld: symbol(s) not found</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">collect2:
 ld returned 1 exit status</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">make: *** [akawiiremote.pd_darwin] Error 1<br><br><span style="font-family: garamond,new york,times,serif;">Somebody can tell me how to compile the library file ?<br>Thanx,<br><br>Florian <br></span></span><br><br><br></div></div><br>



      </body></html>