<HTML dir=ltr><HEAD><TITLE>Re: [jalimo-info] Freerunner, Qt Extended Improved, libswt issue</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16945" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText87202 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000>Hello, Sebastian.</FONT></DIV></DIV>
<DIV dir=ltr>
<DIV id=idOWAReplyText51379 dir=ltr>
<DIV dir=ltr><FONT face=Arial>yes, I tried -among other things- to install&nbsp;explicitly the jni package with no success.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>In one of the tests, I got an "unsatisfied link error" even though the .so files needed were actually there. As if those .so files were useless.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>In&nbsp;another test, one of the .so files was deleted (?)&nbsp;when trying to execute the SWT-based application (even though I removed all the writing permission. Amazing: there's a force stronger than linux permissions)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>In the last tests, I got an error message that said something like "no more handles".</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>All this worked fine on OM 200X and on SHR</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>I thiought it would be too complicated to explain all those details, so I prefered to re-shape my question:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000>Anybody got the SWT Sample application shown here [1] to work on Freerunner + any of the Qt* distributions ('Qt Extended', 'Qt Extended Improved' or 'QtMoko')? (FYI: QtMoko seems to be a Debian distribution&nbsp;plus a Qt GUI)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT color=#000000><FONT face=Arial>[1] </FONT><A href="https://wiki.evolvis.org/jalimo/index.php/Getting_Started_With_Java_On_Maemo" target=_blank><FONT face=Arial>https://wiki.evolvis.org/jalimo/index.php/Getting_Started_With_Java_On_Maemo</FONT></A></FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>Thanks,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>Juan Lucas</FONT></DIV><FONT color=#000000></FONT></DIV>
<DIV dir=ltr><FONT color=#000000>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial></FONT></FONT><BR>&nbsp;</DIV></DIV></DIV>
<DIV dir=ltr>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>De:</B> Sebastian Mancke [mailto:s.mancke@tarent.de]<BR><B>Enviado el:</B> lun 28/12/2009 9:32<BR><B>Para:</B> jalimo-info@lists.evolvis.org<BR><B>CC:</B> Juan Lucas Dominguez Rubio<BR><B>Asunto:</B> Re: [jalimo-info] Freerunner, Qt Extended Improved, libswt issue<BR></FONT><BR></DIV></DIV>
<DIV>
<P><FONT size=2>Hi Juan Lucas,<BR><BR><BR>Am Samstag, 26. Dezember 2009 02:24:40 schrieb Juan Lucas Dominguez Rubio:<BR>&gt; Hello, list<BR>&gt;<BR>&gt; I have installed 'Qt Extended Improved' in my Freerunner, then:<BR>I do not know the 'Qt Extended ..' Distro. Are the GTK libraries available<BR>there? (SWT needs them).<BR><BR>&gt;<BR>&gt; opkg install libswt3.4-gtk-java jamvm gpsd classpath-gtk classpath-common<BR>&gt;&nbsp; classpath<BR><BR>You should have the package libswt3.4-gtk-jni installed. It contains the<BR>native libs for SWT and should normally come as dependency of libswt3.4-gtk-<BR>java.<BR><BR>Regards,<BR>&nbsp; Sebastian<BR><BR>&gt;<BR>&gt; and I also added this repository in my conf files:<BR>&gt;<BR>&gt; <A href="http://security.debian.org/debian-security/dists/stable/updates/main/binary">http://security.debian.org/debian-security/dists/stable/updates/main/binary</A><BR>&gt; -arm<BR>&gt;<BR>&gt; because one of the packages was asking for openjdk-6-jre and that's where I<BR>&gt;&nbsp; found it.<BR>&gt;<BR>&gt; But now my app is not running, it says:<BR>&gt;<BR>&gt; Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3448<BR>&gt;&nbsp; or swt-gtk in swt.library.path, java.library.path or the jar file at<BR>&gt;&nbsp; org.eclipse.swt.internal.Library.loadLibrary(Library.java:233) at<BR>&gt;&nbsp; org.eclipse.swt.internal.Library.loadLibrary(Library.java:151) at<BR>&gt;&nbsp; org.eclipse.swt.internal.C.&lt;clinit&gt;(C.java:21)<BR>&gt;&nbsp;&nbsp;&nbsp; at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)<BR>&gt;&nbsp;&nbsp;&nbsp; at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)<BR>&gt;&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Display.&lt;clinit&gt;(Display.java:130)<BR>&gt;&nbsp;&nbsp;&nbsp; at es.prodevelop.gvsig.mobile.app.Launcher.main(Launcher.java:131)<BR>&gt;<BR>&gt; And indeed I dont have any folder /usr/lib/jni or any file *swt*.so in my<BR>&gt;&nbsp; system.<BR>&gt;<BR>&gt; This worked fine in OM 2009 and previous.<BR>&gt; Any ideas?<BR>&gt;<BR>&gt; Regards,<BR>&gt; Juan Lucas<BR>&gt;<BR><BR>--<BR>tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH<BR>Geschäftsführer: Boris Esser, Elmar Geese<BR>HRB AG Bonn 5168 - Ust-ID: DE122264941<BR><A href="http://www.tarent.com/">http://www.tarent.com/</A><BR><BR>fon +49 228 52675-17<BR>mobil +49 171 7673249<BR><BR>Heilsbachstr. 24, 53123 Bonn,&nbsp;&nbsp; fon +49 228 52675-0,&nbsp;&nbsp; fax +49 228 52675-25<BR>Weigandufer 45,&nbsp;&nbsp; 12059 Berlin, fon +49 30 5682943-30, fax +49 228 52675-25<BR>Schützenstr. 18,&nbsp; 10117 Berlin, fon +49 30 27594853,&nbsp;&nbsp; fax +49 30 78709617<BR></FONT></P></DIV></DIV></BODY></HTML>