This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Errors when compiling libswt.a under winxp


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]