[Java-gnome-developer] Windows Compilation
Brought to you by:
afcowie
From: Jerry H. <jh...@fe...> - 2004-10-13 18:02:01
|
Success! I have Java-Gnome running on Windows. It wasn't that hard. The hardest part was understanding MinGW. There is nothing special that needs to be done to compilation itself, other than to know how to use MinGW properly. The build scripts do not work. But, since they are autoconfed, making them work shouldn't be too hard. Right now I am confronted with one big issue. Windows supports Glade. It doesn't however support the Gnome additional controls (I'm sure it could, but nobody has ported them). However, Java-Gnome's Glade bindings do not appear to be usable without a port of org.gnu.gnome. Here is what I get while trying to auto connect a Glade file created as a GTK+ project (no Gnome widgets used): There is no AppBar in my project: Exception in thread "main" java.lang.NoClassDefFoundError: org.gnu.gnome.event.A ppBarListener at org.gnu.glade.ListenerDelegate.class$(ListenerDelegate.java) at org.gnu.glade.ListenerDelegate.<clinit>(ListenerDelegate.java:196) at org.gnu.glade.LibGlade.connect(LibGlade.java:172) at org.gnu.glade.LibGlade.glade_xml_signal_autoconnect_full(Native Metho d) at org.gnu.glade.LibGlade.<init>(LibGlade.java:118) at com.feedbackplusinc.fast.ui.glade.GladeLoader.load(GladeLoader.java:3 4) at com.feedbackplusinc.fast.ui.windows.GladeWindow.createWindow(GladeWin dow.java:52) at com.feedbackplusinc.fast.ui.windows.BaseWindow.init(BaseWindow.java:3 7) at com.feedbackplusinc.fast.ui.windows.BaseWindow.populate(BaseWindow.ja va:72) at com.feedbackplusinc.fast.ui.gnome.GladeTest.main(GladeTest.java:42) |