src/build.xml:117: Compile failed

Help
2004-10-22
2012-08-29
  • src/build.xml:117: Compile failed; see the compiler error output for details.

    Here is the src and lib direcs:

    xgates@hawaii:~/compile/rssowl_0_9b_src$ ls
    README.txt img/ libswt-atk-gtk-3101.so libswt-gnome-gtk-3101.so libswt-mozilla-gtk-3101.so src/
    doc/ lib/ libswt-awt-gtk-3101.so
    libswt-gtk-3101.so libswt-pi-gtk-3101.so usr/

    xgates@hawaii:~/compile/rssowl_0_9b_src/lib$ ls
    BlowfishJ.jar forms.jar itext.jar jdom.jar jface.jar res.jar swt-mozilla.jar swt-pi.jar swt.jar xerces.jar

    Did I unpack the SWT correct or are the .zip files suppose to be in here somewhere and upacked as well?

    swt-mozillasrc.zip swt-pisrc.zip swtsrc.zip

    Thanks

     
    • Hm, the JARs in your lib directory seem to be correct. No library missing in there.

      Could you post the complete compiler error? That would help a lot.

      Regards,
      Ben

       
    • No the problem was I didn't use the latest SWT :-)

      swt-I20041019-linux-gtk.zip

      It's compiled and running :-)

      Now to put it into a Slackware package, and place it on Slackcare.com :-)

      Thanks guys keep up the good work

       
    • I figured it out by using a newer version of SWT files then what is in the README, but now when I compiled it the compile went ok , then when I went to start it I get this:

      Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3109 in java.library.path
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
      at java.lang.Runtime.loadLibrary0(Runtime.java:788)
      at java.lang.System.loadLibrary(System.java:834)
      at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
      at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
      at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
      at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
      at org.eclipse.swt.widgets.Display.<clinit>(Display.java:121)
      at net.sourceforge.rssowl.controller.RSSOwlLoader.<init>(Unknown Source)
      at net.sourceforge.rssowl.controller.RSSOwlLoader.main(Unknown Source)

       
      • Ok good that the compile finished. To execute RSSOwl make sure to have those *.so files on your library.path.

        The easiest way is to place the *.so files in the same directory of the rssowl.jar and run:

        java -jar -Djava.library.path=. rssowl.jar

        from that dir. That should work,
        Ben

         
    • Ah ok ;).
      Thanks for spreading RSSOwl on Slackcare.
      Ben