<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
by using the compiled version of wiimote.pd_linux I've the following :<br>
/home/dh/Bureau/A/wiimote.pd_linux: libbluetooth.so.2: cannot open
shared object file: No such file or directory<br>
&nbsp;wiimote<br>
... couldn't create<br>
<br>
If I've rename the libbluetooth.so to libbluetooth.so.2 and get the
folowing :<br>
/home/dh/Bureau/A/wiimote.pd_linux: /home/dh/Bureau/A/wiimote.pd_linux:
undefined symbol: hci_remote_name<br>
&nbsp;wiimote<br>
... couldn't create<br>
<br>
So I've recompile the libcwii 6.0.0 (you must edit the code and change
hci_remote_name to hci_read_remote_name that is deprecated)<br>
<br>
but <br>
wiimote.c is still not compilling : <br>
make <br>
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -W -Wshadow
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
-I/usr/local/include -o wiimote.o -c wiimote.c<br>
wiimote.c: In function &#8216;cwiid_callback&#8217;:<br>
wiimote.c:238: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
wiimote.c:239: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
wiimote.c:242: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
wiimote.c: In function &#8216;cwiid_doConnect&#8217;:<br>
wiimote.c:404: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
wiimote.c:414: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
<br>
<br>
BR<br>
Damien.<br>
<br>
<br>
Damien Henry a &eacute;crit&nbsp;:
<blockquote cite="mid:4A66E130.6010400@dh7.net" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Hello,<br>
  <br>
Thanks for the external link : <a moz-do-not-send="true"
 class="moz-txt-link-freetext" href="http://mikewoz.com/pd-stuff.php">http://mikewoz.com/pd-stuff.php</a>
  <br>
  <br>
But I met a compilation problem : <br>
  <br>
make<br>
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -W -Wshadow
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
-I/home/dh/pd/pd-0.40-0/src -o wiimote.o -c wiimote.c<br>
wiimote.c: In function &#8216;cwiid_callback&#8217;:<br>
wiimote.c:238: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
wiimote.c:239: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
wiimote.c:242: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
wiimote.c: In function &#8216;cwiid_doConnect&#8217;:<br>
wiimote.c:404: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
wiimote.c:414: erreur: d&eacute;r&eacute;f&eacute;rencement d'un pointeur de type incomplet<br>
make: *** [wiimote.pd_linux] Erreur 1<br>
  <br>
I've install the libcwiid1-dev package that is cwiid version 0.6.00 for
ubuntu<br>
I also change the path of the lib to /usr/lib that is the correct
installation for both the .h and the .a files from the lib. (mention in
the Reame)<br>
I change the makefile to have the path to pd.h (mention in the makefile)<br>
  <br>
Any clue someone ?<br>
  <br>
BR<br>
Damien.<br>
  <br>
  <br>
  <br>
F. Medeiros a &eacute;crit&nbsp;:
  <blockquote cite="mid:1248221179.3897.6.camel@X-Laptop" type="cite">
    <pre wrap="">Hello,

Get the wiimote external

<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://mikewoz.com/pd-stuff.php">http://mikewoz.com/pd-stuff.php</a>



On Wed, 2009-07-22 at 00:10 +0200, Damien Henry wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">Hello !

What is the easiest way to connect a wiimote to pb on ubuntu ?

Thanks in advance.
Damien.


_______________________________________________
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a moz-do-not-send="true"
 class="moz-txt-link-freetext"
 href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
    </pre>
    </blockquote>
    <pre wrap=""><!---->


  </pre>
  </blockquote>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
  </pre>
</blockquote>
<br>
</body>
</html>