Unable to run

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Unable to run

Postby PerfectReign » Mon Aug 01, 2005 3:04 pm

New to Eclipse / SWT / SWT-Designer. I just started messing with it.

I installed the designer on my Suse 9.3 system running Java 1.5.0_04 and Eclipse 3.1.0. I have the 4.1.1 version of SWT-designer. When I try to run a test app, I am unable since I cannot find the libraries for GTK in the plugins directory.

Under .com.swtdesigner_4.1.1/os/linux/x86 I only have the file, libshot.so.

I do have the win32 DLL under com/swtdesigner_4.1.1/os/win32/x86.


Is there something that should've been installed and didn't get it?
PerfectReign
 
Posts: 4
Joined: Mon Aug 01, 2005 12:07 pm
Location: /home/kai

Re: Unable to run

Postby Eric Clayberg » Mon Aug 01, 2005 5:40 pm

PerfectReign wrote:I installed the designer on my Suse 9.3 system running Java 1.5.0_04 and Eclipse 3.1.0. I have the 4.1.1 version of SWT-designer. When I try to run a test app, I am unable since I cannot find the libraries for GTK in the plugins directory.

What error are you getting?

How are your running your app? Are you using the Eclipse "Run As > SWT Application" command?

Designer does not require provide or require any runtime components.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby PerfectReign » Tue Aug 02, 2005 6:44 am

Ah, that was it - I didn't do run as SWT, I was trying to run as Java app. Thanks. I had a tutorial somewhere which said this, but have since lost the link.
PerfectReign
 
Posts: 4
Joined: Mon Aug 01, 2005 12:07 pm
Location: /home/kai

Postby evan » Wed Aug 02, 2006 6:53 am

i am having a similar problem in ubuntu (hoary):

bringing up the designer invokes the following error dialog:

/usr/local/eclipse/plugins/com.swtdesigner_5.0.1/os/linux/x86/libshot.so: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory

using ldd on libshot, i found the following missing dependencies:
libpangocairo-1.0.so.0 => not found
libcairo.so.2 => not found

searching the ubuntu package repository, it appears that hoary and eariler don't have libpangocairo, but breezy and later (dapper, edgy) have it.

hoary is about 2 years old, so probably older distros (gtk versions?) will have similar problems.

-Evan
evan
 
Posts: 5
Joined: Sat May 07, 2005 9:19 am

Postby Eric Clayberg » Wed Aug 02, 2006 12:14 pm

I don't know anything about ubuntu, but it sounds like you will need to use a newer distribution.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby evan » Wed Aug 02, 2006 1:31 pm

right.... sorry, i guess the codenames make it unclear:

> but breezy and later (dapper, edgy) have it.

dapper (6.06) is the current release and edgy is the next release. presumably this problem won't occur on them. (if anybody cares, dapper has Eclipse nicely packaged out-of-the-box.)

it is failing for hoary (v4.10) and eariler.

i checked the debian repository. this library does NOT exist in debian "stable", but is available in the "testing" and "unstable" repositories.

also, this is only with 5.01, not with the 5.0 GA, which works fine.

-Evan
evan
 
Posts: 5
Joined: Sat May 07, 2005 9:19 am

Postby Eric Clayberg » Sun Sep 03, 2006 4:32 pm

evan wrote:this is only with 5.01, not with the 5.0 GA, which works fine.

Try this with v5.1.0.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

got it working on dapper

Postby evan » Thu Nov 02, 2006 10:53 am

so, i upgraded from ubuntu Hoary (5.04) to Dapper (6.06).

i was getting the same (well, similar) error:
/usr/local/eclipse/plugins/com.swtdesigner_6.0.0/os/linux/x86/libshot.so: libglitz.so.1: cannot open shared object file: No such file or dir

It appears many of the cairo libraries are now in Dapper, so the previous issues are fixed.

Unfortunately, libglitz isn't in Dapper. But the one from Edgy (6.10) works straight away.
You can download it directly from Ubuntu (http://packages.ubuntu.com/edgy/libs/libglitz1.html) and install it with dpkg.
evan
 
Posts: 5
Joined: Sat May 07, 2005 9:19 am

Re: got it working on dapper

Postby Eric Clayberg » Thu Nov 02, 2006 12:14 pm

evan wrote:You can download it directly from Ubuntu (http://packages.ubuntu.com/edgy/libs/libglitz1.html) and install it with dpkg.

The issue with libglitz.so was already addressed last week, so there should be no need to install libglitz.so, if you are using the latest Designer build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest