All,

I'm a bit struggling getting to run nano-X AWT.
I (cross)compile using the following switches (amongst others):
--without-kaffe-x-awt \
--with-kaffe-nanox-awt --with-nanox-include (..) --with-nanox-library (...) \
--without-classpath-gtk-awt \

When I run with
# kaffe-bin -Xkaffe-nanox-awt -Xbootclasspath:/tmp/nfs/jre/lib/rt.jar FirstAWT

I get:
java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
  at java.awt.Toolkit.getDefaultToolkit (Toolkit.java:535)
 (...)
Caused by: java.lang.UnsatisfiedLinkError: Could not find library 'gtkpeer'
 (...)

Apparently, the build is OK, since a kaffe-bin -version shows me the --Xkaffe-nanox-awt switch, but when I use this, kaffe is still looking for gtk.
Any suggestion is very welcome !

Thanks,

Wim

Note: I'm using the 1.1.5 release

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to