On 04/22/2009 04:15 PM, Rob Tanner wrote: > > On Apr 22, 1:00�pm, Jeff Chimene<[email protected]> wrote: > > >> On 04/22/2009 12:06 PM, Rob Tanner wrote: >> >> >>> Hi, >>> >>> I've been going back and forth with Instantiations tech support over >>> their GET Designer Eclipse plugin. �When I try and execute a GWT >>> application in Eclipse that I built with the Designer, I get an >>> Exception immediately. �The error is: �Exception in thread "main" >>> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in >>> java.library.path. >>> Instantiation's support says that for some reason, GWT's SWT really >>> does think I'm running on Linux. >>> >>> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support >>> 1.6.4 according to Instantiation support) and I also have the current >>> Google plugin from Google's Eclipse update site installed. �My system >>> is a MacBook Pro with 10.5.6 installed. �Does this problem at all >>> sound familiar? >>> >>> Thanks, >>> Rob >>> >> I'll stake a stab at this, maybe we can isolate the problem... >> >> o Is this your first project w/ GWT in this environment? >> � �If so, please try establishing a baseline by installing and running >> the StockWatcher example >> >> o Is SWT the Standard Widget Toolkit? >> � �The sentence "GWT's SWT really does think I'm running on Linux" >> implies ownership of SWT by GWT. Isn't SWT a separate library? >> > > Yes. This is my first project. > > I went through the first step of of the project: Creating a GWT > application. When I created it, a message popped up in the Eclipse > console: > > Encountered a problem: Unexpected exception > Please see the logs [/tmp/enhance40780.log] for further information. > What's "enhance"? I would have expected "StockWatcher"?
Either way, at this point I'd verify you have a good installation of GWT. Set Eclipse aside for the moment and try building the Showcase samples using the command line. If you make your default directory something like "/path/to/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/samples" You should find a file named "build.xml" You may need to set root permissions to write into this directory, but try "ant build" If that works, try running in Hosted mode "ant hosted" > Step 2, Testing the default project components, resulted in nothing > being displayed (although the Eclipse console flickered). Assuming > that something got logged about the problem somewhere, do you know > where that somewhere would be? > > With regard to SWT, I believe that's exactly correct. There are 4 > jnilibs in the toolkit with swt in their name and I presume they > implement at least part of the Software Widget Toolkit. They are > clearly carbon and not gtk which makes sense because I'm running on a > Mac, not Linux. But the error I get using the GWT Designer is no swt- > pi-gtk-3062 in java.library.path. Also, I don't believe the Designer > even looks at the GWT Eclipse plugin. The one must-be-set preference > in the Designer configuration is where in the file system to find the > toolkit. > Well, this got me interested to see what's on my system: $ ls /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/lib* /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libgwt-ll.so /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-gtk-3235.so /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-mozilla17-profile-gcc3-gtk-3235.so /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-mozilla17-profile-gtk-3235.so /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-mozilla-gcc3-gtk-3235.so /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-mozilla-gtk-3235.so /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-pi-gtk-3235.so So, let's check the libraries on your system? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
