androiddelphiopengl-escross-compilingoxygene

Are there cross-compilable OpenGL examples made with Oxygene?


We have a working OpenGL project made for PC (works on MacOS and Linux under Wine as well) which we want to try to cross-compile to tablets. Delphi XE2/XE4 offers iOS support, but there's no Android yet and judging from iOS implementation history it might take 1-2 years. Now we start looking into other possibilities which will allow us to keep the majority of Pascal codebase (80k lines). So here's the question for the Oxygene:

Are there any examples of OpenGL applications made with Oxygene that can be cross-compiled to work on PC/MacOS/iOS/Android ?

If not, what alternatives are there (except Lazarus)?


Solution

  • AFAIK there is none.

    Even the low-level Sugar cross-platform RTL is not finished. It would be a first mandatory step to be done before accessing higher level libraries in a cross-platform way (i.e. with identical source code), like OpenGL.

    So with Oxygene, you have a great cross-compiler, but you are tied to use the RTL available on each platform.

    You can compare with two object-pascal compilers: