The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
How to use C++ for Android?
Ztrategist


Joined: 11 Oct 2016
Posts: 1
Hi everyone Smile,

Recently we've set up SDL for Android using C. I've heard that it is possible to use C++ on Android too. How does this work?

Do we need to specify this somewhere during compilation? We want to port an existing C++ game to Android. That is why I ask this question.

Thanks in advance!

Ztrategist
How to use C++ for Android?
M. Gerhardy
Guest

I suppose the best is to see some real code for this - check out this one e.g.: https://github.com/floooh/oryol/tree/master/code/Modules/Core/android


On Tue, Oct 11, 2016 at 9:06 PM, Ztrategist wrote:
Quote:
Hi everyone ,

Recently we've set up SDL for Android using C. I've heard that it is possible to use C++ on Android too. How does this work?

Do we need to specify this somewhere during compilation? We want to port an existing C++ game to Android. That is why I ask this question.

Thanks in advance!

Ztrategist


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org




--
http://www.caveproductions.org