Porting to Android

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Message
Author
o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Porting to Android

#16 Post by o01eg »

I managed to build APK with experimental Godot client but run into strange segfaults https://github.com/godotengine/godot-cpp/issues/473
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Porting to Android

#17 Post by o01eg »

I made Godot client read content files from APK https://github.com/freeorion/freeorion/pull/3367
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Porting to Android

#18 Post by o01eg »

If someone other than me still interesting in it but was stopped when tried to build Python and Boost I managed to build and distribute Android SDK: https://github.com/o01eg/freeorion-sdk/ ... 1344928703
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

Ophiuchus
Programmer
Posts: 3433
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Re: Porting to Android

#19 Post by Ophiuchus »

o01eg wrote: Fri Oct 15, 2021 8:25 am If someone other than me still interesting in it but was stopped when tried to build Python and Boost I managed to build and distribute Android SDK: https://github.com/o01eg/freeorion-sdk/ ... 1344928703
I am still interested, but not sure I can do something (time-constraints and not much expertise, never done android development). I am rather baffled as what is working and what is not. So what is possible right now?

What do I do with the SDK? How do I cross-compile from my x64 ?
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Look, ma... four combat bouts!

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Porting to Android

#20 Post by o01eg »

Ophiuchus wrote: Fri Oct 15, 2021 9:29 am
o01eg wrote: Fri Oct 15, 2021 8:25 am If someone other than me still interesting in it but was stopped when tried to build Python and Boost I managed to build and distribute Android SDK: https://github.com/o01eg/freeorion-sdk/ ... 1344928703
I am still interested, but not sure I can do something (time-constraints and not much expertise, never done android development). I am rather baffled as what is working and what is not. So what is possible right now?

What do I do with the SDK? How do I cross-compile from my x64 ?
BUILD.md contains Android documentation. You need to install Android NDK first. Then download and extract SDK and choose architecture. Also you need to build Godot for Android as it done in Godot's documentation.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

Post Reply