Compiling SWT+SwingWT
Mohan Embar
gnustuff@thisiscool.com
Tue Apr 20 17:20:00 GMT 2004
Hi Rob,
>I seem to be able to compile SWT and SwingWT to two separate shared
>libraries ok (swt.so and swingwt.so), however as soon as I link a
>program against them, I get a whole raft of "undefined reference to
>org::eclipse..." errors for classes in the SWT library.
I don't have time to look at this in detail at the moment, but just skimming this,
it seems like you need to rename the .so files at minimum. When libgcj
tries to load classes from a package called w.x.y.z from an external shared
library, it first tries lib-w-x-y-z.so, then failing this, lib-w-x-y.so, then lib-w-x.so,
and so on.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
More information about the Java
mailing list