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[2]: Win32 SWT Problem


Hey

DCH> Thanks for the reply. I'm using Eclipse 2.0.1, should I be
DCH> using a different/newer one?

I don't think it matters too much... I tried it with M3

DCH> I've been corresponding with Erik Poupaert on this. His advice
DCH> suggests that my problem is due to not having VC.NET installed
DCH> on this machine. Would you agree that VC.NET is required?

VC.NET is not required unless you are trying to build the DLL itself.

...

DCM> If I link to the Win32 libs (on Erics advice) when building the
DCM> exe (add -lole32 -lcomctl32, etc.) the app runs, does not give
DCM> and NPE but the VM exits imediatly and the Shell flashes up and
DCM> disapears just *after* the VM exits - very strange.

I didn't have to do any of that... have a look at the following message,
it includes a couple of attachments, look in the "build-swt.sh", that
takes care of the whole swt build process :

    http://gcc.gnu.org/ml/java/2002-12/msg00147.html

As long as you down want to re-build the SWT dll it should be easy.

Cheers
JohnM



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