Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-swt-dev] building native libraries for Linux/PPC

> -----Original Message-----
> From: Veronika Irvine [mailto:Veronika_Irvine@xxxxxxx]
> Sent: dinsdag 15 oktober 2002 14:46
> To: platform-swt-dev@xxxxxxxxxxx
> Subject: Re: [platform-swt-dev] building native libraries for 
> Linux/PPC
> 
> 
> 
> I just updated the SWT FAQ last week and it is up to date.
> 
> Were you lloking at the following entry:
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platfo
> rm-swt-home/faq.html#howbuilddll
> 
> What problems did you encounter?

I haven't seen any mention of differences between the procedures for 1.1 &
2.0 in the FAQ.

This is an excerpt from the FAQ, about building the SWT JNI libraries from
the download with source included:

----------------------------------------------------------------------------
--------------
Building the SWT JNI libraries from the eclipse SDK download: 

Download an Eclipse distribution from
http://www.eclipse.org/downloads/index.php. 
Unzip the distribution. This will create a directory called eclipse. This
directory is subsequently referred to as ECLIPSE_HOME. 
Change directory to
ECLIPSE_HOME/plugins/org.eclipse.platform.WS.source_X.X.X/src/org.eclipse.sw
t.WS_X.X.X/ws/WS (where WS is the name of the windowing system such as
win32, motif, gtk, photon, carbon). 
----------------------------------------------------------------------------
--------------

The directory specified doesn't exist.
ECLIPSE_HOME/plugins/org.eclipse.platform.linux.gtk.source exists, but it
has no subdirectory src.

----------------------------------------------------------------------------
--------------
Unzip contained file swtsrc.zip, which will create a directory called
library. 
----------------------------------------------------------------------------
--------------

The directory 'library' exists already in
ECLIPSE_HOME/plugins/org.eclipse.swt/Eclipse SWT PI/gtk.

BTW I've successfully run eclipse, but it's *VERY* unstable.  (E.g. I
haven't been able to define a new project outside ECLIPSE_HOME/workspace: it
crashes before the project is created.)  Does the same hold for the
Linux/gtk/x86 version, or is this specific to Linux/gtk/ppc ?

I'll try building a Motif version as well, just to see whether that is any
more stable.

	
Arnaud


Back to the top