|
|
|
Re: How to build an RCP app with Linux/Motif? [message #491984 is a reply to message #490077] |
Fri, 16 October 2009 21:28 |
Andrew Niefer Messages: 990 Registered: July 2009 |
Senior Member |
|
|
For 3.4.2, there is a motif download of the sdk
http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2- 200902111700/download.php?dropFile=eclipse-SDK-3.4.2-linux-m otif.tar.gz
that was used for testing purposes.
I'm assuming that is where you got the swt & launcher plugins?
If you look in your swt.motif.linux.x86 fragment does it contain the
libswt-motif-3449.so library? 3449 is the version from 3.4.1, 3.4.2 was
3452.
The swt java class files have hardcoded the version of the native they
are looking for, if you've assembled your own fragment jar, they could
be mismatched.
Or, if the library version is correct, maybe the library can't be loaded
due to missing dependencies. The SDK ships with a libXm.so.2 in the
root of eclipse, are you missing that?
(Also the 3.5. deltapacks do contain linux/motif if you want to upgrade).
-Andrew
Thomas SZADEL wrote:
> Hi all,
>
> I wonder how to build an RCP application with Linux/Motif (Eclipse 3.4.x)?
>
> I have not seen any RCP platform based on Linux/motif on the Eclipse
> download page. The only thing I have found is the main eclipse product...
>
> Thus, I've tried to download the delta pack... but the linux/motif
> version is missing :(
>
> So, I've added the swt and launcher plugins of the eclipse/motif version
> in my current eclipse platform and rebuilt my application (the build is
> done with an headless ant script).
> The build is successful, but when I launch the application, I've got the
> following error message:
>
>
> java.lang.UnsatisfiedLinkError: no swt-motif-3449 or swt-motif in
> swt.library.path, java.library.path or the jar file
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:23 3)
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:15 1)
> at org.eclipse.swt.internal.C.<clinit>(C.java:21)
> at org.eclipse.swt.graphics.Device.<clinit>(Device.java:116)
> at
> org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:509)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
> at ...
>
|
|
|
Powered by
FUDForum. Page generated in 0.04266 seconds