JOGL on iOS

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

JOGL on iOS

Qu0ll
Now that RoboVM has been used as a vehicle to get JavaFX applications running on iOS, are there any plans to use a similar mechanism to get JOGL working on iOS?

Here's the link in question:

http://blog.robovm.org/2013/05/javafx-openjfx-on-ios-using-robovm.html

It would be awesome to use JOGL to develop iOS apps and sure such a capability would be essential for its long term relevance.

Thanks,

-q
Reply | Threaded
Open this post in threaded view
|

Re: JOGL on iOS

Xerxes Rånby
This post was updated on .
iOS support is not essential for a JOGL release but if someone steps up and do the port then patches are welcome.

You can start by experimenting using RoboVM to run JOGL on one of the platforms that JOGL currently support. JamVM is also supported on iOS if you want a JVM solution and is available from the Cydia installer. Avian may also be an option to get a runtime for use on iOS.

For JOGL to appear under iOS its required that someone do an initial port of NEWT to initialize a native surface and provide input on this platform.
Reply | Threaded
Open this post in threaded view
|

Re: JOGL on iOS

gouessej
Administrator
In reply to this post by Qu0ll
Hi

Normen already started porting NEWT to iOS some months ago, his solution relies on AvianVM, he plans to use it with JMonkeyEngine 3.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL on iOS

Karl-Heinz Mali
Hi,

is JOGL in the meantime available to download for iOS? JavaFXPorts support iOS and it would be appreciated to use JOGL with it.
Thank you in advance for every information.

Karl
Reply | Threaded
Open this post in threaded view
|

Re: JOGL on iOS

Xerxes Rånby
JavaFXPorts uses RoboVM + XCode to generate native code for iOS.

JogAmp JOGL classes can also be compiled to native format for iOS using
RoboVM
I have written down some notes how to use JogAmp JOGL in combination
with RoboVM AOT.
https://github.com/xranby/jogl/blob/20dc629cb92f48412090ab020c1d5a282ceaa268/doc/misc/robovm.txt

However we have never tested to create natives for iOS due to that you
need to use the Apple XCode tools in order to create iOS binarys.
I am not aware of a way using free software tools to do compilation for iOS,
such tools would be good to have in order for the JogAmp project to
produce automatic test builds.

Some people claim that the only viable way to compile for iOS without
using XCode is by using a jailbroken iOS device and install gcc from the
unofficial Cydia app store.
Thus one idea is to use a jail broken iOS device as a build server.

Den 2015-09-01 12:51, Karl-Heinz Mali [via jogamp] skrev:
> Hi,
>
> is JOGL in the meantime available to download for iOS? JavaFXPorts
> support iOS and it would be appreciated to use JOGL with it.
> Thank you in advance for every information.
>
> Karl

Reply | Threaded
Open this post in threaded view
|

Re: JOGL on iOS

Xerxes Rånby
In reply to this post by gouessej
gouessej wrote
Hi

Normen already started porting NEWT to iOS some months ago, his solution relies on AvianVM, he plans to use it with JMonkeyEngine 3.
AvianVM is also indeed an interesting option for iOS deployment. I look forward to try merge Normen's NEWT changes early into JogAmp JOGL when he publish them. Normen's NEWT work should also work for RoboVM AOT deployment.
Reply | Threaded
Open this post in threaded view
|

Re: JOGL on iOS

Xerxes Rånby
This post was updated on .
In reply to this post by Xerxes Rånby
Xerxes Rånby wrote
However we have never tested to create natives for iOS due to that you
need to use the Apple XCode tools in order to create iOS binarys.
I am not aware of a way using free software tools to do compilation for iOS,
such tools would be good to have in order for the JogAmp project to
produce automatic test builds.
I found this project that looks promising to provide an iphone toolchain without xcode:
https://code.google.com/p/iphone-dev/wiki/Building

EDIT: it appears even this toolchain needs the xcode headers and an ios filesystem
Reply | Threaded
Open this post in threaded view
|

Re: JOGL on iOS

gouessej
Administrator
In reply to this post by Karl-Heinz Mali
Xerxes is right, AvianVM and RoboVM are 2 possible options for iOS but as long as they require XCode, I won't use them. I'm not really motivated to support some very closed platforms.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL on iOS

Karl-Heinz Mali
In reply to this post by Xerxes Rånby
Thank you for your notes in robovm.txt how to use JogAmp JOGL in combination with RoboVM AOT. It seems not so ugly but as you wrote you did not test it. The question will be if a simple Java user is able to to get it running. What problems in detail will I have to expect with your approach? I am willing to buy a Mac with XCode but my Java JOGL application should work finally with iOS.