Re: [Jamvm-general] JamVM + LWJGL + OpenJDK running 60fps 1080p on RaspberryPi!
Brought to you by:
rlougher
From: Xerxes R. <xe...@za...> - 2012-12-21 15:41:57
|
2012-12-19 12:26, modsrm skrev: > > Hi Xerxes, > > Roberto here. > I see you are running jamVM on ARM. Ive been trying to cross compile it with > the crosstool ng toolchain but i cannot get over the following issue, i > thought maybe you have a solution! > Sorry the errors you see are unknown to me, I rarely run manual cross compiles, I prefer building on target. The OpenEmbedded meta-java can automate a cross compile of JamVM + OpenJDK 6 or 7. https://github.com/woglinde/meta-java Build instructions: https://github.com/woglinde/meta-java/wiki I think meta-java can help you perform a cross compilation. > Im building on a 32 bit x86 machine, here is my configure command: > > PATH=$PATH:/home/mods/development/embedded/tools/toolchain/arm-unknown-linux-gnueabi/bin/ > ./configure --host=arm-unknown-linux-gnueabi > CPPFLAGS="-I/home/mods/development/embedded/tools/rootfs/include" > LDFLAGS="-L/home/mods/development/embedded/tools/rootfs/lib" > > The extra CPPFLAGS and LDFLAGS are passed in to specify where the cross > compiled zlib is. > > Configure succeeds, but then make fail with the following error: > > arm-unknown-linux-gnueabi-gcc -g -O2 > -I/home/mods/development/embedded/tools/rootfs/include > -L/home/mods/development/embedded/tools/rootfs/lib > engine/compute_relocatability.c -o engine/compute_relocatability > engine/compute_relocatability.c:24:17: fatal error: jam.h: No such file or > directory > > Did you cross compile it or did you build it on the target? I build it on target like this: http://labb.zafena.se/?p=576 JamVM is pre-packaged for use on Debian/Rasbian and Ubuntu systems. Simply install: apt-get install openjdk-7-jre icedtea-7-jre-jamvm and then run jamvm using: java -jamvm |