[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: [swt][cocoa] Cannot run an Eclipse application with the SWT Cocoa port

Sorry, should have posted to the swt newsgroup.

Thanks,

Antoine

Antoine Toulme wrote:
Hi,

I'd like to test the current state of the SWT Cocoa port.

Here is what I did:
I checked out the sources of org.eclipse.swt and
org.eclipse.swt.coca.macosx

I renamed the cocoa classpath file to be the .classpath file.

I built those plugins.

Then I tried to start my eclipse instance, and I had this exception:
!ENTRY org.eclipse.osgi 4 0 2008-10-21 12:23:01.185
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-cocoa-3513 or swt-cocoa in
swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:235)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:153)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.internal.cocoa.id.objc_getClass(id.java:35)
at org.eclipse.swt.internal.cocoa.NSObject.alloc(NSObject.java:28)
at org.eclipse.swt.graphics.Device.<init>(Device.java:116)
at org.eclipse.swt.widgets.Display.<init>(Display.java:542)
at org.eclipse.swt.widgets.Display.<init>(Display.java:533)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:525)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at
org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143)

at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)

at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)

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:386)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

What can I do about this ? Is there an error on my end ?

Thanks,

Antoine