Hi,<br>&nbsp;&nbsp; I&nbsp; tried to use the updated code and it complied on ubuntu, but when i tried to run it it gave the following error,<br><br>&nbsp;<br>./tapioca-test: error while loading shared libraries: libtapioca-client-glib-0.14.so.0
: cannot open shared object file: No such file or directory<br><br>I am not sure what is wrong. How do I get this library, should i just have to get the debian package and install it?<br><br>do i have to start another application for this tutorial to work, like gabble or stream engine, as given in the testing the installation?
<br><br>When i tried to do a make it actually threw an error, I am not sure what all libraries are to be installed for this tutorial to work, because except for the python bindings i have all the others set up.<br><br>here is the error log
<br><br>[sbox-SDK_X86: ~/tutorial] &gt; make<br>gcc interface.c -c -ggdb `pkg-config libglade-2.0 gtk+-2.0 libtapioca-client-glib-0.14 --cflags`<br>Package libtapioca-client-glib-0.14 was not found in the pkg-config search path.
<br>Perhaps you should add the directory containing `libtapioca-client-glib-0.14.pc&#39;<br>to the PKG_CONFIG_PATH environment variable<br>No package &#39;libtapioca-client-glib-0.14&#39; found<br>In file included from interface.c
:21:<br>interface.h:23:21: gtk/gtk.h: No such file or directory<br>interface.h:24:25: glade/glade.h: No such file or directory<br>interface.h:25:32: tapioca/tpa-client.h: No such file or directory<br>In file included from 
callbacks.h:25,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from interface.h:26,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from interface.c:21:<br>connector.h:23:18: glib.h: No such file or directory<br>In file included from callbacks.h:25,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from interface.h
:26,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from interface.c:21:<br>connector.h:27: error: syntax error before &#39;*&#39; token<br>connector.h:27: warning: data definition has no type or storage class<br>connector.h:28: error: syntax error before &#39;*&#39; token
<br>connector.h:28: warning: data definition has no type or storage class<br>connector.h:29: error: syntax error before &#39;*&#39; token<br>connector.h:29: warning: data definition has no type or storage class<br>connector.h
:30: error: syntax error before &#39;*&#39; token<br>connector.h:30: warning: data definition has no type or storage class<br>connector.h:31: error: syntax error before &#39;*&#39; token<br>connector.h:31: warning: data definition has no type or storage class
<br>connector.h:34: error: syntax error before &quot;init_connector&quot;<br>connector.h:34: warning: data definition has no type or storage class<br>connector.h:35: error: syntax error before &#39;*&#39; token<br>connector.h
:35: warning: data definition has no type or storage class<br>In file included from interface.h:26,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from interface.c:21:<br>callbacks.h:27: error: syntax error before &#39;*&#39; token<br>callbacks.h:28: error: syntax error before &#39;*&#39; token
<br>callbacks.h:29: error: syntax error before &quot;close_channel_cb&quot;<br>callbacks.h:29: error: syntax error before &#39;*&#39; token<br>callbacks.h:31: warning: data definition has no type or storage class<br>callbacks.h
:32: error: syntax error before &quot;send_message_cb&quot;<br>callbacks.h:32: error: syntax error before &#39;*&#39; token<br>callbacks.h:34: warning: data definition has no type or storage class<br>callbacks.h:35: error: syntax error before &#39;*&#39; token
<br>callbacks.h:38: error: syntax error before &#39;*&#39; token<br>callbacks.h:39: error: syntax error before &#39;*&#39; token<br>callbacks.h:40: error: syntax error before &#39;*&#39; token<br>callbacks.h:43: error: syntax error before &#39;*&#39; token
<br>callbacks.h:44: error: syntax error before &#39;*&#39; token<br>In file included from interface.c:21:<br>interface.h:29: error: syntax error before &#39;*&#39; token<br>interface.h:29: warning: data definition has no type or storage class
<br>interface.h:30: error: syntax error before &#39;*&#39; token<br>interface.h:30: warning: data definition has no type or storage class<br>interface.h:31: error: syntax error before &#39;*&#39; token<br>interface.h:31: warning: data definition has no type or storage class
<br>interface.h:32: error: syntax error before &#39;*&#39; token<br>interface.h:32: warning: data definition has no type or storage class<br>interface.h:33: error: syntax error before &#39;*&#39; token<br>interface.h:33: warning: data definition has no type or storage class
<br>interface.h:34: error: syntax error before &#39;*&#39; token<br>interface.h:34: warning: data definition has no type or storage class<br>interface.h:35: error: syntax error before &#39;*&#39; token<br>interface.h:35: warning: data definition has no type or storage class
<br>interface.h:37: error: syntax error before &#39;*&#39; token<br>interface.h:37: warning: data definition has no type or storage class<br>interface.h:38: error: syntax error before &#39;*&#39; token<br>interface.h:38: warning: data definition has no type or storage class
<br>interface.h:39: error: syntax error before &#39;*&#39; token<br>interface.h:39: warning: data definition has no type or storage class<br>interface.h:42: error: syntax error before &#39;*&#39; token<br>interface.h:44: error: syntax error before &#39;*&#39; token
<br>interface.h:48: error: syntax error before &#39;*&#39; token<br>interface.h:49: error: syntax error before &quot;app_change_contact_presence&quot;<br>interface.h:49: error: syntax error before &#39;*&#39; token<br>interface.h
:52: warning: data definition has no type or storage class<br>interface.c:26: error: syntax error before &#39;*&#39; token<br>interface.c: In function `app_init&#39;:<br>interface.c:28: error: `GladeXML&#39; undeclared (first use in this function)
<br>interface.c:28: error: (Each undeclared identifier is reported only once<br>interface.c:28: error: for each function it appears in.)<br>interface.c:28: error: `widget_tree&#39; undeclared (first use in this function)<br>
interface.c:28: error: `gladefile&#39; undeclared (first use in this function)<br>interface.c:28: error: `NULL&#39; undeclared (first use in this function)<br>interface.c:29: error: `GtkCellRenderer&#39; undeclared (first use in this function)
<br>interface.c:29: error: `renderer&#39; undeclared (first use in this function)<br>interface.c:30: error: `GtkTreeViewColumn&#39; undeclared (first use in this function)<br>interface.c:30: error: `column&#39; undeclared (first use in this function)
<br>interface.c:31: error: `GtkWidget&#39; undeclared (first use in this function)<br>interface.c:31: error: `chat_view&#39; undeclared (first use in this function)<br>interface.c:34: warning: assignment makes pointer from integer without a cast
<br>interface.c:35: warning: assignment makes pointer from integer without a cast<br>interface.c:36: warning: assignment makes pointer from integer without a cast<br>interface.c:37: warning: assignment makes pointer from integer without a cast
<br>interface.c:38: warning: assignment makes pointer from integer without a cast<br>interface.c:39: warning: assignment makes pointer from integer without a cast<br>interface.c:43: error: `FALSE&#39; undeclared (first use in this function)
<br>interface.c:47: error: `TRUE&#39; undeclared (first use in this function)<br>interface.c:53: error: `G_TYPE_STRING&#39; undeclared (first use in this function)<br>interface.c:53: error: `TPA_TYPE_CONTACT_BASE&#39; undeclared (first use in this function)
<br>interface.c:53: warning: assignment makes pointer from integer without a cast<br>interface.c:56: warning: assignment makes pointer from integer without a cast<br>interface.c:57: warning: assignment makes pointer from integer without a cast
<br>interface.c:60: warning: assignment makes pointer from integer without a cast<br>interface.c: At top level:<br>interface.c:92: error: syntax error before &#39;*&#39; token<br>interface.c: In function `app_add_contacts&#39;:
<br>interface.c:94: error: `GtkTreeIter&#39; undeclared (first use in this function)<br>interface.c:94: error: syntax error before &quot;iter&quot;<br>interface.c:95: error: syntax error before &#39;*&#39; token<br>interface.c
:96: error: syntax error before &#39;*&#39; token<br>interface.c:97: error: `TpaContact&#39; undeclared (first use in this function)<br>interface.c:97: error: `contact&#39; undeclared (first use in this function)<br>interface.c
:100: error: `contacts&#39; undeclared (first use in this function)<br>interface.c:106: error: `NULL&#39; undeclared (first use in this function)<br>interface.c:108: error: `contact_alias&#39; undeclared (first use in this function)
<br>interface.c:109: error: `contact_presence&#39; undeclared (first use in this function)<br>interface.c:111: error: `iter&#39; undeclared (first use in this function)<br>interface.c: At top level:<br>interface.c:138: error: syntax error before &#39;*&#39; token
<br>interface.c: In function `app_print_message&#39;:<br>interface.c:140: error: `user&#39; undeclared (first use in this function)<br>interface.c:142: error: `message&#39; undeclared (first use in this function)<br>interface.c
: At top level:<br>interface.c:147: error: syntax error before &quot;app_change_contact_presence&quot;<br>interface.c:147: error: syntax error before &#39;*&#39; token<br>interface.c: In function `app_change_contact_presence&#39;:
<br>interface.c:150: error: `TpaContactBase&#39; undeclared (first use in this function)<br>interface.c:150: error: `contact&#39; undeclared (first use in this function)<br>interface.c:151: error: `model&#39; undeclared (first use in this function)
<br>interface.c:151: error: `iter&#39; undeclared (first use in this function)<br>interface.c:153: error: `data&#39; undeclared (first use in this function)<br>interface.c:156: error: `FALSE&#39; undeclared (first use in this function)
<br>make: *** [interface.o] Error 1<br><br><br>I am not sure what is missing inside the emulator for it to throw this error do i have to make modifications in the code, or the makefile or am i missing any of the needed libraries. When i try to install 
libtapioca-client-glib-0.14 it does not allow me to install it because of older versions of dependents. The problem is maemo itself has a repository that gives a set of libraries and i am not sure how to safely upgrade them.
<br><br>sorry about so many questions, it would be great if u can help me with it. <br><br>Thanks,<br>Harini<br><br><br><br><br><div class="gmail_quote">On Nov 26, 2007 12:41 PM, Marcelo Lira &lt;<a href="mailto:setanta@gmail.com">
setanta@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Harini<br><br>There is one IM application, called Ereséva[1], that you to get code and ideas from when programming with Tapioca. It is written in Python and uses tapioca-python, which is a binding for tapioca-glib, and is not difficult to map the code from python to C.
<br><br>I suppose you want the things you do on the whiteboard to appear in the whiteboards of the other people connected, if so you will need to transport application data besides the text messages and voip, and what you need for this is using Tubes. The general idea is explained here[1].
<br><br>Tapioca doesn&#39;t have tubes implementation yet, in this case I recommend to take a look at telepathy-glib/libtelepathy.<br><br>Any problems don&#39;t hesitate and ask.<br clear="all"><br>[1] <a href="http://wiki.laptop.org/go/Shared_Sugar_Activities" target="_blank">

http://wiki.laptop.org/go/Shared_Sugar_Activities</a><div><div></div><div class="Wj3C7c"><br><br>Regards,<br><br>-- <br>Marcelo Lira dos Santos<br><a href="http://setanta.wordpress.com" target="_blank">
http://setanta.wordpress.com</a><br>@CInLUG: <a href="http://www.cin.ufpe.br/%7Ecinlug" target="_blank">http://www.cin.ufpe.br/~cinlug</a><br>@Ciência Livre: <a href="http://www.ciencialivre.pro.br" target="_blank">http://www.ciencialivre.pro.br
</a><br>@INdT: 
<a href="http://www.indt.org.br" target="_blank">http://www.indt.org.br</a>
</div></div></blockquote></div><br>