looking into SWT 3.0 M8 for native compilation with GCJ
Erik Poupaert
erik.poupaert@skynet.be
Fri Apr 16 17:29:00 GMT 2004
Has anybody gotten anywhere with compiling SWT 3.0 natively?
I can't even get the jni dependencies to compile properly. The make_gtk.mak buildfile
included, doesn't work at all.
The compilation instruction, I'm trying to get to work is:
gcc -c `pkg-config --cflags atk pango gtk+-2.0` -DLINUX -DGTK -fpic -fPIC
-export-dynamic -O -Wall -DSWT_VERSION=3.044 -I/opt/blackdown-jdk-1.4.1/include
-I/opt/blackdown-jdk-1.4.1/include/linux -o ../bld-app-swt/objlin32/os.o
org-eclipse-swt-pi-native-gtk-3-0-44/src/os.c
And it collapses on the symbol GtkCombo (which, by the way, is defined in
/usr/include/gtk-2.0/gtk/gtkcombo.h)
err>In file included from org-eclipse-swt-pi-native-gtk-3-0-44/src/os.c:17:
err>org-eclipse-swt-pi-native-gtk-3-0-44/src/os_structs.h:179: error: syntax err or
before '*' token err
>org-eclipse-swt-pi-native-gtk-3-0-44/src/os_structs.h:179:
error: syntax err or before "GtkCombo"
err>org-eclipse-swt-pi-native-gtk-3-0-44/src/os_structs.h:179: warning: type def
aults to `int' in declaration of `getGtkComboFields'
err>org-eclipse-swt-pi-native-gtk-3-0-44/src/os_structs.h:179: warning: data def
inition has no type or storage class
err>org-eclipse-swt-pi-native-gtk-3-0-44/src/os_structs.h:180: error: syntax err or
before "GtkCombo"
Anybody here with Gtk superpowers?
More information about the Java
mailing list