This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Errors when compiling libswt.a under winxp
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: "java at gcc dot gnu dot org" <java at gcc dot gnu dot org>, "sontriste at virgilio dot it" <sontriste at virgilio dot it>
- Date: Mon, 08 Dec 2003 06:52:48 -0600
- Subject: Re: Errors when compiling libswt.a under winxp
- Reply-to: gnustuff at thisiscool dot com
Hello,
>I am trying to compile the library libswt.a like explain by
>http://gcc.gnu.org/ml/java/2002-12/msg00105.html
>the compilation process have positive result generating one library
>libswt.a of 7.85MB,
>but the compilation process also generates some warnings and errors.
>With the obtained library I have compiled the "described Advanced
>widgets tutorial" like in http://www.cs.umanitoba.ca/~eclipse/,
>nearly all the demo work except some, e.g. ImageDemo. I have noticed
>that the instruction
>
>Image img = new Image(display, "EclipseBannerPic.jpg");
>
>causes a crash of the application.
>
>Someone can help me?
You don't say which OS and platform you're using, although I assume
from the context that this is on Windows with the MinGW compiler.
If this is the case, you can download my 3.4 build from:
http://www.thisiscool.com/gcc_mingw.htm
This has a special SWT build which someone kindly modified to support
image loading. See the image loading sample in
thisiscool-gcc/examples/HelloSWT.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/