|
|
|
|
Re: [Releng] How to setup a swt source workspace [message #1184308 is a reply to message #1174946] |
Wed, 13 November 2013 06:09  |
Eclipse User |
|
|
|
I have followed the documentation you have provided but when I try to
launch a Eclipse in debug I have the following trace :
!ENTRY org.eclipse.osgi 4 0 2013-11-11 13:11:03.735
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-gtk-4409 in java.library.path
no swt-gtk in java.library.path
Can't load library: /home/esteban/.swt/lib/linux/x86_64/libswt-gtk-4409.so
Can't load library: /home/esteban/.swt/lib/linux/x86_64/libswt-gtk.so
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
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:133)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at
org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
I'm on a Linux Ubuntu 13.10 64 bits, I have cloned
http://git.eclipse.org/gitroot/platform/eclipse.platform.swt.git and
http://git.eclipse.org/gitroot/platform/eclipse.platform.swt.binaries.git.
I have imported in my workspace the "org.eclipse.swt" project from the
first git repo and "org.eclipse.swt.gtk.linux.x86_64" project from the
second git repo. In the first project I have renamed .classpath_gtk to
..classpath to have the project compiles without errors. I have changed
the build path to have "Native library location" property (in Source tab
for the "Eclipse SWT/gtk" source folder ) point to the second project.
The second project contains the libswt-gtk-4412.so native library while
the stacktrace talks about libswt-gtk-4409.so
Does someone have successfully setup a swt dev workspace for gtk 64 bits?
Le 07/11/2013 13:16, Arun Thondapu a écrit :
> If you're looking for information on which xulrunner versions are
> compatible with which versions of SWT, please check this link -
> http://eclipse.org/swt/faq.php#browserlinux
|
|
|
Powered by
FUDForum. Page generated in 0.04385 seconds