From c1869ee0fed3ca982a8dbc59110dc0f0e83b8545 Mon Sep 17 00:00:00 2001 From: Xerxes RĂ„nby Date: Thu, 20 Aug 2015 20:07:24 +0200 Subject: doc/misc/robovm.txt: Writedown howto use JogAmp in combination with RoboVM AOT --- doc/misc/robovm.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/misc/robovm.txt (limited to 'doc') diff --git a/doc/misc/robovm.txt b/doc/misc/robovm.txt new file mode 100644 index 000000000..3b5606db4 --- /dev/null +++ b/doc/misc/robovm.txt @@ -0,0 +1,15 @@ +#get jogamp and robovm +wget http://download.robovm.org/nightlies/robovm-1.6.1-SNAPSHOT-20150820_014200-647.tar.gz +wget http://jogamp.org/deployment/archive/master/gluegen_885-joal_611-jogl_1424-jocl_1073/fat/jogamp-fat.jar + +#unpack +tar zxvf robovm-1.6.1-SNAPSHOT-20150820_014200-647.tar.gz + +#compile using robovm +./robovm-1.6.1-SNAPSHOT/bin/robovm -verbose -dynamic-jni -forcelinkclasses jogamp.**:com.jogamp.** -cp jogamp-fat.jar com.jogamp.newt.opengl.GLWindow + +#run +cd com.jogamp.newt.opengl.GLWindow +#robovm currently fail to find natives inside jars, unpack them +unzip lib/jogamp-fat.jar natives/*/* +time ./com.jogamp.newt.opengl.GLWindow -- cgit v1.2.3