Gustavo Hexsel wrote:
> Hi there,
>
> I had a couple of hours free time, so I decided to see how to get the GTK-java working. The problem is... I'm running on Windows. I've tried the binaries at http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/GetJavaGnome but they don't have libgnome-java. So I tried to build all dependencies from scratch, but I keep getting all kinds of problems... the farther I got was getting GLIB-java to compile, but I can't get libgtk-java to recognize the files, or the version is too old (I'm using the latest I could find).
>
> Is there anywhere a set of complete Gnome-Java bindings for Windows?
>
> []s Gus
>
Hi,
I got inspired by Gustavo Hexsel's mail and I also tried to compile the
Java-GNOME bindings for Windows XP.
I assumed that the way to do it was to install cygwin in order to have
make, gcj, gcc and g++ and then to install the GTK Win32 binaries from
the gladewin32 site (http://gladewin32.sf.net).
So far I managed to build cairo-java, glib-java and libgtk-java, but I
got into some serious problems when I tried to run a simple example that
uses the gtk libraries. At first, java (Sun's JDK 1.5) kept complaining
that the Java-GNOME DLLs where missing. I noticed that cygwin created a
bunch of files with the extension '.dll.a' so I removed the '.a' from
all the files in order to have the '.dll' extension and now I get a
windows popup with the following error:
"The application or DLL
C:\cygwin\home\hpadmin\eclipse-bin\libgtkjni-2.8.dll is not a valid
Windows image. Please check this against you installation diskette."
I'm starting to think that using cygwin is not the way to go.
Any advice?
Emmanuel Rodriguez
|