Re: [Jamvm-general] Unable to run GUI application using cross-compiled jamvm for arm
Brought to you by:
rlougher
From: Xerxes R. <xe...@za...> - 2013-03-23 11:27:13
|
Adityadham wrote: > > Hello everyone, > > We have cross-compiled the gnu classpath 0.98 and jamvm 1.5_4 for our arm > xscale device. When we run helloworld program, it works perfectly fine. > But when we run gui applications, there is no response. Below are our > commands which we gave for cross-compiling: > .. > GNU CLASSPATH: > ./configure --host arm-xscale-linux-gnueabi –prefix=/usr/local > --disable-examples --with-x --disable-qt-peer –disable-gtk-peer > --disable-gconf-peer --disable-plugin --enable-alsa –disable-dssi > --enable-local-sockets --enable-collections --enable-xmlj > --enable-default-toolkit=gnu.java.awt.peer.gtk.XToolkit > ... > [Loaded gnu/java/awt/BitMaskExtent from > /usr/local/share/classpath/glibj.zip] > [Linking class gnu/java/awt/BitMaskExtent] > > Can someone please guide us on this. This is becoming very critical. > > > It will be a great help if someone can direct us towards fixing this to > see what we are missing to get the gui applications running with jamvm. We > have made a small sample using java swing which creates a frame and 2 > buttons over it. > > Thanks in advance. > I believe you have cross-compiled gnu-classpath with an incompatible set of options. If you want to use the gtk-peer to implement awt and swing then remove the –disable-gtk-peer option to GNU Classpath configure. Cheers Xerxes -- View this message in context: http://old.nabble.com/Unable-to-run-GUI-application-using-cross-compiled-jamvm-for-arm-tp35205711p35209661.html Sent from the JamVM mailing list archive at Nabble.com. |