Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
General discussions
»
SFML successfully built for android and try to add one more library
Print
Pages: [
1
]
Author
Topic: SFML successfully built for android and try to add one more library (Read 3546 times)
0 Members and 1 Guest are viewing this topic.
Kipero
Newbie
Posts: 2
SFML successfully built for android and try to add one more library
«
on:
January 09, 2020, 10:17:50 pm »
Hi guys,
I have a problem with including one more lib for this example app, made on this tutorial below:
https://github.com/SFML/SFML/wiki/Tutorial:-Building-SFML-for-Android
My goal is to create an android game. I have this one finished on Windows/MS Visual Studio (SFML and Box2D) and now i need port it to android. I don't know how to do it. Thank you in advance for your help.
Logged
AlexAUT
Sr. Member
Posts: 396
Re: SFML successfully built for android and try to add one more library
«
Reply #1 on:
January 10, 2020, 11:29:18 am »
Based on the SFML example used in the wiki post you have to make the following adjustments:
Adding your source files
here
Compiling Box2D for android and installing it into the third party lib of your NDK installation. I have not done it, but Box2D provide a cmake script which should make this easier. You can try the same cmake command as for building sfml from the wiki post you have posted.
Another possibilty can be found
here
, this may be outdated since it is from 2013.
Link Box2D like sfml is linked
here
. This is not needed for the tutorial I linked in the previous step.
Best,
Alex
Logged
Android (Play Store):
https://play.google.com/store/apps/details?id=com.alexaut.kroniax.android
Kipero
Newbie
Posts: 2
Re: SFML successfully built for android and try to add one more library
«
Reply #2 on:
January 11, 2020, 09:24:07 am »
Thank you very much! Your response is truly helpful.
Logged
Print
Pages: [
1
]
SFML community forums
»
General
»
General discussions
»
SFML successfully built for android and try to add one more library