aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/robovm.txt15
1 files changed, 15 insertions, 0 deletions
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