| [gef-dev] no swt-win32-2132 when trying to compile Simpel charts example |
|
Hi,
I am new to Java and trying to build the simplest of all gef examples: http://eclipsewiki.swiki.net/50#simpleCharts I am following the instructions only replacing the import com.ibm.etools.draw2d.*; import com.ibm.etools.draw2d.geometry.*; to: import org.eclipse.draw2d.*; import org.eclipse.draw2d.geometry.*; I am getting hte following Console output when trying to run the sample: java.lang.UnsatisfiedLinkError: no swt-win32-2132 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:104) at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:42) at org.eclipse.swt.widgets.Display.internal_new_GC(Display.java:1230) at org.eclipse.swt.graphics.Device.init(Device.java:543) at org.eclipse.swt.widgets.Display.init(Display.java:1249) at org.eclipse.swt.graphics.Device.<init>(Device.java:92) at org.eclipse.swt.widgets.Display.<init>(Display.java:287) at org.eclipse.swt.widgets.Display.<init>(Display.java:283) at ChartDemo.main(ChartDemo.java:34) Exception in thread "main" Anyboy any clue as what may be wrong? I am using Version: 2.1.0 Build id: 200303071024 on j2sdk1.4.1_02 Any suggestions or help more than welcome! Gert van Spijker |