summaryrefslogtreecommitdiffstats
path: root/doc/misc/robovm.txt
diff options
context:
space:
mode:
authorXerxes Rånby <[email protected]>2015-08-20 20:07:24 +0200
committerXerxes Rånby <[email protected]>2015-08-20 20:07:24 +0200
commitc1869ee0fed3ca982a8dbc59110dc0f0e83b8545 (patch)
tree5414d52b5c28db59e91206da40b36bc15df08a1a /doc/misc/robovm.txt
parenta836175ecf20aaf71cd53f1cb79c6f68a2f87e2a (diff)
doc/misc/robovm.txt: Writedown howto use JogAmp in combination with RoboVM AOT
Diffstat (limited to 'doc/misc/robovm.txt')
-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