# Build SFML For Android On Windows Batch scripts to build SFML for Android, using the latest Android NDK
Successfully building SFML requires that you have the following in your PATH
:
cmake
(minimum version is 3.7.2)git
C:\Program Files\mingw32\bin
). You can check this by trying to run mingw32-make
in CMD.Run build-sfml.bat
followed by the absolute path to your NDK. For example, if your NDK is located at D:\NVPACK\android-ndk-r19, then you have to run build-sfml.bat D:\NVPACK\android-ndk-r19
.
You can install the newest version before building SFML, by executing download-ndk-and-build-sfml.bat
. You can also specify where to install ndk, by providing an absolute path to the script. For example, if you want to install it in D:\Android, then you should run download-ndk-and-build-sfml.bat D:\Android
. After downloading the NDK, this script will also run build-sfml.bat
and thus build SFML.
The script will download SFML to %userprofile%\SFML. For example, if your username is Foo, you will be able to find the downloaded SFML repository at C:\Users\Foo\SFML.
The following scripts are created in %userprofile%\SFML\build and its subdirectories. They are also run by build-sfml.bat
when it builds SFML for the first time. You can use them to rebuild SFML in case you modify something in it.
rebuild-all.bat
:Rebuilds SFML for all ABIs.
rebuild.bat
(in each ABI's directory):Rebuilds SFML for the ABI corrisponding to script's directory.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。