Can i using D & LLVM & SDL2 for Android?

dummy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 13 03:55:59 PDT 2017


On Monday, 13 March 2017 at 06:48:01 UTC, Joakim wrote:
> On Thursday, 9 March 2017 at 10:35:18 UTC, dummy wrote:
>> [...]
>
> Regarding the link to that forum post, that bug has since been 
> found and fixed.
>
> If you're planning on using Derelict, there is an issue where 
> all Derelict libraries are loaded as shared libraries, whereas 
> the Android port currently doesn't support loading shared 
> libraries.  If DLangUI is using SDL2, maybe he has a header 
> file that allows him to statically link against SDL2, which you 
> could reuse.
>
> Otherwise, you may need to generate one using DStep:
>
> https://github.com/jacob-carlborg/dstep
>
> or modify the DerelictSDL2 files to allow you to link 
> statically.

thx! i will try it. :-D


More information about the Digitalmars-d-learn mailing list