<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 explicitly the jni package with no success.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT> </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> </DIV>
<DIV dir=ltr><FONT face=Arial>In another test, one of the .so files was deleted (?) 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> </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> </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> </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> </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 plus a Qt GUI)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT> </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> </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> </DIV>
<DIV dir=ltr><FONT face=Arial></FONT></FONT><BR> </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>> Hello, list<BR>><BR>> 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>><BR>> opkg install libswt3.4-gtk-java jamvm gpsd classpath-gtk classpath-common<BR>> 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> Sebastian<BR><BR>><BR>> and I also added this repository in my conf files:<BR>><BR>> <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>> -arm<BR>><BR>> because one of the packages was asking for openjdk-6-jre and that's where I<BR>> found it.<BR>><BR>> But now my app is not running, it says:<BR>><BR>> Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3448<BR>> or swt-gtk in swt.library.path, java.library.path or the jar file at<BR>> org.eclipse.swt.internal.Library.loadLibrary(Library.java:233) at<BR>> org.eclipse.swt.internal.Library.loadLibrary(Library.java:151) at<BR>> org.eclipse.swt.internal.C.<clinit>(C.java:21)<BR>> at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)<BR>> at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)<BR>> at org.eclipse.swt.widgets.Display.<clinit>(Display.java:130)<BR>> at es.prodevelop.gvsig.mobile.app.Launcher.main(Launcher.java:131)<BR>><BR>> And indeed I dont have any folder /usr/lib/jni or any file *swt*.so in my<BR>> system.<BR>><BR>> This worked fine in OM 2009 and previous.<BR>> Any ideas?<BR>><BR>> Regards,<BR>> Juan Lucas<BR>><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, fon +49 228 52675-0, fax +49 228 52675-25<BR>Weigandufer 45, 12059 Berlin, fon +49 30 5682943-30, fax +49 228 52675-25<BR>Schützenstr. 18, 10117 Berlin, fon +49 30 27594853, fax +49 30 78709617<BR></FONT></P></DIV></DIV></BODY></HTML>