LWJGL Forum

Programming => LWJGL Documentation => Topic started by: Bernd on December 09, 2010, 20:46:57

Title: liblwjgl for Linux ARM 8 Cortex
Post by: Bernd on December 09, 2010, 20:46:57
Hello together.
I am not sure if this is the right subboard to post in.

However, i am trying to get minecraft working on my Nokia n900. I allready got java and opengl working and now i stuck with liblwjgl.so.

I recieve an errormessage, that the one that is on my device is for Intel 32.


So i ask the experterts now, because i have now idea of crosscompling at all.
Would it be possible to get an version for an ARM processor? Or could anyone compile that for me?


Thank You
Bernd
Title: Re: liblwjgl for Linux ARM 8 Cortex
Post by: broumbroum on December 09, 2010, 21:31:11
Try on a linux workstation, arm cross compiling is included in most distributions, e.g opensuse. Gcc cross compiler.  Then using netbeans and the lwjgl source it should be possible to achieve a lwjgl.so for ARM.
Title: Re: liblwjgl for Linux ARM 8 Cortex
Post by: Bernd on December 10, 2010, 00:06:49
thank you for your fast reply

I was already looking for the source - but all i find was a libljgl-java.so file. I don't think that i can use this.

i am more into that apt-stuff. So i have 2 ubuntus and this maemo ( which is another debian-derivat) Also i do not know if it is possible/necessary to combile it explicid for Limux.


Which compiler should i take? isn't lwjgl written in C?


Thank You
Bernd
Title: Re: liblwjgl for Linux ARM 8 Cortex
Post by: broumbroum on December 10, 2010, 00:37:07
I did successfully compile i386 lwjgl natives with gcc installed on a linux desktop.
For cross compile and debian, see here if it helps : xhttp://www.emdebian.org/tools/crossdev.htmlx

EDIT : this is
http://people.debian.org/~debacle/cross/
Title: Re: liblwjgl for Linux ARM 8 Cortex
Post by: Bernd on December 10, 2010, 01:27:34
Thank you again
I will have a look on this tomorrow 2:26is to late for this D:


Bernd



EDIT: mhh.. i was kind of lazy, let's see what i can do today